diff --git a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte index 5c2ee6e21..6561142ca 100644 --- a/src/lib/components/layout/Sidebar/RecursiveFolder.svelte +++ b/src/lib/components/layout/Sidebar/RecursiveFolder.svelte @@ -1,5 +1,6 @@ + { + deleteHandler(); + }} +> +
+ {@html DOMPurify.sanitize( + $i18n.t('This will delete {{NAME}} and all its contents.', { + NAME: folders[folderId].name + }) + )} +
+
+ {#if dragged && x && y}
@@ -347,7 +367,7 @@ editHandler(); }} on:delete={() => { - deleteHandler(); + showDeleteConfirm = true; }} >