Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Delete confirmation doesn't disappear after bulk deletion of links using WebUI. Fixes #290 (#292)

kamtschatkae65aadbcfdcc
diff --git a/apps/web/components/dashboard/BulkBookmarksAction.tsx b/apps/web/components/dashboard/BulkBookmarksAction.tsx
index b78071ee..bed1bda8 100644
--- a/apps/web/components/dashboard/BulkBookmarksAction.tsx
+++ b/apps/web/components/dashboard/BulkBookmarksAction.tsx
@@ -83,6 +83,7 @@ export default function BulkBookmarksAction() {
toast({
description: `${selectedBookmarks.length} bookmarks have been deleted!`,
});
+ setIsDeleteDialogOpen(false);
};
const alreadyFavourited =
@@ -102,7 +103,7 @@ export default function BulkBookmarksAction() {
hidden: !isBulkEditEnabled,
},
{
- name: alreadyArchived ? "Un-arhcive" : "Archive",
+ name: alreadyArchived ? "Un-archive" : "Archive",
icon: <ArchivedActionIcon size={18} archived={!!alreadyArchived} />,
action: () => updateBookmarks({ archived: !alreadyArchived }),
isPending: updateBookmarkMutator.isPending,