mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 08:15:17 -05:00
fix(web): keep album timeline when selecting cover (#23819)
This commit is contained in:
parent
07a39226c5
commit
8001dedcbf
@ -298,9 +298,6 @@
|
||||
|
||||
let timelineManager = $state<TimelineManager>() as TimelineManager;
|
||||
const options = $derived.by(() => {
|
||||
if (viewMode === AlbumPageViewMode.VIEW) {
|
||||
return { albumId, order: albumOrder };
|
||||
}
|
||||
if (viewMode === AlbumPageViewMode.SELECT_ASSETS) {
|
||||
return {
|
||||
visibility: AssetVisibility.Timeline,
|
||||
@ -308,7 +305,7 @@
|
||||
timelineAlbumId: albumId,
|
||||
};
|
||||
}
|
||||
return {};
|
||||
return { albumId, order: albumOrder };
|
||||
});
|
||||
|
||||
const isShared = $derived(viewMode === AlbumPageViewMode.SELECT_ASSETS ? false : album.albumUsers.length > 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user