mirror of
https://github.com/zebrajr/immich.git
synced 2025-12-06 12:20:54 +01: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…
Reference in New Issue
Block a user