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:
martin
2024-01-23 07:30:22 +01:00
committed by GitHub
parent f97f23d149
commit 74f1000e83
2 changed files with 12 additions and 11 deletions

View File

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