fix: broken album page (#17149)

This commit is contained in:
Jason Rasmussen 2025-03-26 18:59:23 -04:00 committed by GitHub
parent 2f8725c66f
commit fd4a5f71b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 6 deletions

View file

@ -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 });