diff --git a/src/App.jsx b/src/App.jsx
index ad4e1cd..85b5631 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1582,48 +1582,12 @@ async function createNewChat() {
)}
{activeSidebarMode === 'dbs' && (
- {libraries.length === 0 ? (
-
No databases yet.
- ) : (
- libraries.map(library => (
-
setActiveLibrarySlug(library.slug)}
- >
- {editingLibrarySlug === library.slug ? (
-
setEditingLibrarySlug(null)}
- onKeyDown={(e) => {
- if (e.key === 'Enter') {
- handleLibraryRename(library.slug, e.target.value)
- } else if (e.key === 'Escape') {
- setEditingLibrarySlug(null)
- }
- }}
- autoFocus
- />
- ) : (
- <>
-
{library.name}
-
- {chatLibrarySlug === library.slug &&
Chat
}
- {isLibrarySyncing(library.slug) &&
Syncing
}
-
-
-
- >
- )}
-
- ))
- )}
+
+
Knowledge
+
+ {isLibrarySyncing(activeLibrary?.slug) &&
Syncing
}
+
+
)}
{activeSidebarMode === 'settings' && (
@@ -1643,58 +1607,9 @@ async function createNewChat() {
/>
)}
- {(activeSidebarMode === 'chats' || activeSidebarMode === 'dbs') && (
+ {activeSidebarMode === 'chats' && (
- {activeSidebarMode === 'chats' && (
-
- )}
- {activeSidebarMode === 'dbs' && (
- isCreatingLibrary ? (
-
-
setNewLibraryName(e.target.value)}
- onKeyDown={(e) => {
- if (e.key === 'Enter') {
- createLibrary()
- } else if (e.key === 'Escape') {
- setIsCreatingLibrary(false)
- setNewLibraryName('')
- setLibraryCreateError('')
- }
- }}
- placeholder="Database name"
- autoFocus
- />
- {libraryCreateError &&
{libraryCreateError}
}
-
-
-
-
-
- ) : (
-
- )
- )}
+
)}