mirror of
https://github.com/immich-app/immich
synced 2025-06-06 17:08:22 +00:00
fix(web): update after delete (#18684)
This commit is contained in:
parent
0712183a18
commit
4e332db2fb
@ -58,6 +58,7 @@
|
||||
|
||||
const deleteAsset = async () => {
|
||||
try {
|
||||
preAction({ type: AssetAction.DELETE, asset: toTimelineAsset(asset) });
|
||||
await deleteAssets({ assetBulkDeleteDto: { ids: [asset.id], force: true } });
|
||||
onAction({ type: AssetAction.DELETE, asset: toTimelineAsset(asset) });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user