mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(web): unstacking issues (#4792)
* Fix typo * Restore asset store consistency after unstacking * Fix aspect ratio after unstacking
This commit is contained in:
parent
92bb42950e
commit
38443a6068
4 changed files with 9 additions and 7 deletions
|
|
@ -549,7 +549,7 @@
|
|||
}
|
||||
asset.stackCount = 0;
|
||||
asset.stack = [];
|
||||
assetStore?.updateAsset(asset);
|
||||
assetStore?.updateAsset(asset, true);
|
||||
|
||||
dispatch('unstack');
|
||||
notificationController.show({ type: NotificationType.Info, message: 'Un-stacked', timeout: 1500 });
|
||||
|
|
@ -575,7 +575,7 @@
|
|||
showDownloadButton={shouldShowDownloadButton}
|
||||
showDetailButton={shouldShowDetailButton}
|
||||
showSlideshow={!!assetStore}
|
||||
hasStackChildern={$stackAssetsStore.length > 0}
|
||||
hasStackChildren={$stackAssetsStore.length > 0}
|
||||
on:goBack={closeViewer}
|
||||
on:showDetail={showDetailInfoHandler}
|
||||
on:download={() => downloadFile(asset)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue