mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(web): store albums sorting policy in local storage (#2966)
This commit is contained in:
parent
d078aea32b
commit
e803bc909f
2 changed files with 14 additions and 5 deletions
|
|
@ -37,3 +37,11 @@ export const mapSettings = persisted<MapSettings>('map-settings', {
|
|||
});
|
||||
|
||||
export const videoViewerVolume = persisted<number>('video-viewer-volume', 1, {});
|
||||
|
||||
export interface AlbumViewSettings {
|
||||
sortBy: string;
|
||||
}
|
||||
|
||||
export const albumViewSettings = persisted<AlbumViewSettings>('album-view-settings', {
|
||||
sortBy: 'Most recent photo'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue