chore: layout optimize
This commit is contained in:
@@ -919,6 +919,17 @@ function SidebarBody() {
|
||||
{t('dataSourceManagement')}
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
|
||||
onClick={() => {
|
||||
navigate("/knowledge-bases");
|
||||
setShowUserMenu(false);
|
||||
}}
|
||||
>
|
||||
<Database className="h-4 w-4 text-muted-foreground" />
|
||||
{t('knowledgeBaseManagement', 'Knowledge Bases')}
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
|
||||
onClick={() => {
|
||||
@@ -954,6 +965,17 @@ function SidebarBody() {
|
||||
{t('modelConfig')}
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
|
||||
onClick={() => {
|
||||
navigate("/embedding-models");
|
||||
setShowUserMenu(false);
|
||||
}}
|
||||
>
|
||||
<Brain className="h-4 w-4 text-muted-foreground" />
|
||||
{t('embeddingModelConfig', 'Embedding Models')}
|
||||
</button>
|
||||
|
||||
<button
|
||||
className="w-full flex items-center gap-2 px-3 py-2 text-sm text-foreground/80 hover:bg-muted transition-colors"
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user