diff options
| author | kamtschatka <simon.schatka@gmx.at> | 2024-07-13 14:15:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 13:15:05 +0100 |
| commit | e65aadbcfdccb02c902dc982303ec0e8b6d39fec (patch) | |
| tree | da8d0ceab4edf1955eaca5229abc7f36c3bed1fb /apps/web | |
| parent | ee167beb6546f89d270b6b6bbdc3ffd754103948 (diff) | |
| download | karakeep-e65aadbcfdccb02c902dc982303ec0e8b6d39fec.tar.zst | |
fix: Delete confirmation doesn't disappear after bulk deletion of links using WebUI. Fixes #290 (#292)
closing delete dialog after deleting the bookmarks
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/components/dashboard/BulkBookmarksAction.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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, |
