mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
fix(web): delete album consolidation (#3858)
This commit is contained in:
parent
165b91b068
commit
dad7cf47b4
1 changed files with 3 additions and 3 deletions
|
@ -219,7 +219,7 @@
|
|||
await api.albumApi.deleteAlbum({ id: album.id });
|
||||
goto(backUrl);
|
||||
} catch (error) {
|
||||
handleError(error, 'Unable to remove album');
|
||||
handleError(error, 'Unable to delete album');
|
||||
} finally {
|
||||
viewMode = ViewMode.VIEW;
|
||||
}
|
||||
|
@ -322,7 +322,7 @@
|
|||
logo={ShareVariantOutline}
|
||||
/>
|
||||
<CircleIconButton
|
||||
title="Remove album"
|
||||
title="Delete album"
|
||||
on:click={() => (viewMode = ViewMode.CONFIRM_DELETE)}
|
||||
logo={DeleteOutline}
|
||||
/>
|
||||
|
@ -524,7 +524,7 @@
|
|||
|
||||
{#if viewMode === ViewMode.CONFIRM_DELETE}
|
||||
<ConfirmDialogue
|
||||
title="Delete Album"
|
||||
title="Delete album"
|
||||
confirmText="Delete"
|
||||
on:confirm={handleRemoveAlbum}
|
||||
on:cancel={() => (viewMode = ViewMode.VIEW)}
|
||||
|
|
Loading…
Add table
Reference in a new issue