mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 01:11:16 +03:00
fix(web): statusbox re-rendering and nav bar when trashing assets (#6581)
* fix: issues on web * fix: description in shared album * fix: remove unused api request * revert * fix: linter
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
export let menuItem = false;
|
||||
export let force = !$featureFlags.trash;
|
||||
|
||||
const { getOwnedAssets } = getAssetControlContext();
|
||||
const { clearSelect, getOwnedAssets } = getAssetControlContext();
|
||||
|
||||
const dispatch = createEventDispatcher<{
|
||||
escape: void;
|
||||
@@ -36,6 +36,7 @@
|
||||
.filter((a) => !a.isExternal)
|
||||
.map((a) => a.id);
|
||||
await deleteAssets(force, onAssetDelete, ids);
|
||||
clearSelect();
|
||||
isShowConfirmation = false;
|
||||
loading = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user