Add an option to adjust the size of book covers in the grid view
This commit is contained in:
committed by
Aditya Chandel
parent
bbf922b525
commit
fb37b578f3
@@ -16,6 +16,7 @@ export interface EntityViewPreference {
|
||||
sortKey: string;
|
||||
sortDir: 'ASC' | 'DESC';
|
||||
view: 'GRID' | 'TABLE';
|
||||
coverSize: number
|
||||
}
|
||||
|
||||
export interface EntityViewPreferenceOverride {
|
||||
@@ -116,6 +117,10 @@ export class UserService {
|
||||
});
|
||||
}
|
||||
|
||||
getCurrentUser(): User | null {
|
||||
return this.userStateSubject.getValue();
|
||||
}
|
||||
|
||||
getMyself(): Observable<User> {
|
||||
return this.http.get<User>(`${this.userUrl}/me`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user