0
Fork 0
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:
waclaw66 2023-08-25 13:03:16 +02:00 committed by GitHub
parent 165b91b068
commit dad7cf47b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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