mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(web): save album sort direction (#4401)
This commit is contained in:
parent
ebb50476ac
commit
2370c9ef41
2 changed files with 7 additions and 4 deletions
|
|
@ -43,6 +43,7 @@ export const isShowDetail = persisted<boolean>('info-opened', false, {});
|
|||
|
||||
export interface AlbumViewSettings {
|
||||
sortBy: string;
|
||||
sortDesc: boolean;
|
||||
view: string;
|
||||
}
|
||||
|
||||
|
|
@ -61,5 +62,6 @@ export enum AlbumViewMode {
|
|||
|
||||
export const albumViewSettings = persisted<AlbumViewSettings>('album-view-settings', {
|
||||
sortBy: 'Most recent photo',
|
||||
sortDesc: true,
|
||||
view: AlbumViewMode.Cover,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue