From 8f879a24fb196bbacb273bc2d56432e021c0ebf8 Mon Sep 17 00:00:00 2001
From: Ted <2508067350@qq.com>
Date: Mon, 24 Feb 2025 17:12:58 +0800
Subject: [PATCH] Update sidebar.tsx
---
app/components/sidebar.tsx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx
index a97d886dc..c0a7bb6bd 100644
--- a/app/components/sidebar.tsx
+++ b/app/components/sidebar.tsx
@@ -9,6 +9,7 @@ import DeleteIcon from "../icons/delete.svg";
import MaskIcon from "../icons/mask.svg";
import McpIcon from "../icons/mcp.svg";
import DragIcon from "../icons/drag.svg";
+import DiscoveryIcon from "../icons/discovery.svg";
import Locale from "../locales";
@@ -31,7 +32,7 @@ import { isMcpEnabled } from "../mcp/actions";
const DISCOVERY = [
{ name: Locale.Plugin.Name, path: Path.Plugins },
- { name: "Stable Diffusion", path: Path.Sd },
+ // { name: "Stable Diffusion", path: Path.Sd },
{ name: Locale.SearchChat.Page.Title, path: Path.SearchChat },
];
@@ -276,13 +277,13 @@ export function SideBar(props: { className?: string }) {
shadow
/>
)}
- {/* }
text={shouldNarrow ? undefined : Locale.Discovery.Name}
className={styles["sidebar-bar-button"]}
onClick={() => setshowDiscoverySelector(true)}
shadow
- /> */}
+ />
{showDiscoverySelector && (