mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00
🔧 fix: add clear all button to bookmark navigation items (#3721)
This commit is contained in:
parent
58334dffea
commit
ba9c351435
1 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,13 @@ const BookmarkNavItems: FC<{
|
|||
if (bookmarks.length === 0) {
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<BookmarkItem
|
||||
tag={localize('com_ui_clear_all')}
|
||||
data-testid="bookmark-item-clear"
|
||||
handleSubmit={clear}
|
||||
selected={false}
|
||||
icon={<CrossCircledIcon className="size-4" />}
|
||||
/>
|
||||
<BookmarkItem
|
||||
tag={localize('com_ui_no_bookmarks')}
|
||||
data-testid="bookmark-item-no-bookmarks"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue