fix: pictures download button

fix #1225
This commit is contained in:
imperosol
2025-11-07 14:30:11 +01:00
parent 9c64dae7fe
commit 9a311d8cee
5 changed files with 18 additions and 14 deletions

View File

@@ -57,5 +57,9 @@ document.addEventListener("alpine:init", () => {
}
this.loading = false;
},
allPictures(): PictureSchema[] {
return this.albums.flatMap((album: Album) => album.pictures);
},
}));
});