diff --git a/src/screens/folder-review/folder-preview.tsx b/src/screens/folder-review/folder-preview.tsx index 2bccc065..fe8e32ab 100644 --- a/src/screens/folder-review/folder-preview.tsx +++ b/src/screens/folder-review/folder-preview.tsx @@ -176,19 +176,17 @@ export const FolderPreview = observer(() => { {t("share")} )} - {deckListStore.canEditFolder && ( - { - showConfirm(t("delete_folder_confirm")).then(() => { - deckListStore.deleteFolder(); - }); - }} - > - {t("delete")} - - )} + { + showConfirm(t("delete_folder_confirm")).then(() => { + deckListStore.deleteFolder(); + }); + }} + > + {t("delete")} +
({ + id: card.id, + deck_id: deck.id, + type: "new", + })), + ); } screenStore.go({ type: "folderPreview", folderId: folder.id }); }