mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: broken album page (#17149)
This commit is contained in:
parent
2f8725c66f
commit
fd4a5f71b5
3 changed files with 7 additions and 6 deletions
|
|
@ -394,7 +394,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
let album = $state(data.album);
|
||||
let album = $derived(data.album);
|
||||
let albumId = $derived(album.id);
|
||||
|
||||
$effect(() => {
|
||||
|
|
@ -404,6 +404,7 @@
|
|||
});
|
||||
|
||||
let assetStore = new AssetStore();
|
||||
|
||||
$effect(() => {
|
||||
if (viewMode === AlbumPageViewMode.VIEW) {
|
||||
void assetStore.updateOptions({ albumId, order: albumOrder });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue