mirror of
https://github.com/immich-app/immich.git
synced 2025-06-27 21:40:03 +02:00
fix(web): update after delete (#18684)
This commit is contained in:
parent
0712183a18
commit
4e332db2fb
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue