mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 09:15:35 +03:00
fix: broken album page (#17149)
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user