diff --git a/src/lib/components/icons/PencilSquare.svelte b/src/lib/components/icons/PencilSquare.svelte index 9d44ac64b..d1e02b1ad 100644 --- a/src/lib/components/icons/PencilSquare.svelte +++ b/src/lib/components/icons/PencilSquare.svelte @@ -3,11 +3,17 @@ export let strokeWidth = '1.5'; - + - diff --git a/src/lib/components/layout/Navbar.svelte b/src/lib/components/layout/Navbar.svelte index 4c1ddfb40..6d9536983 100644 --- a/src/lib/components/layout/Navbar.svelte +++ b/src/lib/components/layout/Navbar.svelte @@ -25,6 +25,7 @@ import AdjustmentsHorizontal from '../icons/AdjustmentsHorizontal.svelte'; import Map from '../icons/Map.svelte'; import { stringify } from 'postcss'; + import PencilSquare from '../icons/PencilSquare.svelte'; const i18n = getContext('i18n'); @@ -139,19 +140,7 @@ aria-label="New Chat" >
- - - - +
diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 03fe4025d..94e487582 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -35,6 +35,7 @@ updateChatFolderIdById, importChat } from '$lib/apis/chats'; + import { createNewFolder, getFolders, updateFolderParentIdById } from '$lib/apis/folders'; import { WEBUI_BASE_URL } from '$lib/constants'; import ArchivedChatsModal from './Sidebar/ArchivedChatsModal.svelte'; @@ -47,7 +48,6 @@ import Folder from '../common/Folder.svelte'; import Plus from '../icons/Plus.svelte'; import Tooltip from '../common/Tooltip.svelte'; - import { createNewFolder, getFolders, updateFolderParentIdById } from '$lib/apis/folders'; import Folders from './Sidebar/Folders.svelte'; const BREAKPOINT = 768; @@ -417,7 +417,7 @@
{ @@ -443,21 +443,6 @@
{$i18n.t('New Chat')}
-
- - - - -