Update sidebar.tsx
This commit is contained in:
parent
fc6bd84614
commit
8f879a24fb
|
@ -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
|
||||
/>
|
||||
)}
|
||||
{/* <IconButton
|
||||
<IconButton
|
||||
icon={<DiscoveryIcon />}
|
||||
text={shouldNarrow ? undefined : Locale.Discovery.Name}
|
||||
className={styles["sidebar-bar-button"]}
|
||||
onClick={() => setshowDiscoverySelector(true)}
|
||||
shadow
|
||||
/> */}
|
||||
/>
|
||||
</div>
|
||||
{showDiscoverySelector && (
|
||||
<Selector
|
||||
|
|
Loading…
Reference in New Issue