Parcourir la source

refactor: 更换主导航「工具」菜单图标为 ToolOutlined

visuddhinanda il y a 5 jours
Parent
commit
f5e2f0addc
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      dashboard-v6/src/components/navigation/MainMenu.tsx

+ 2 - 1
dashboard-v6/src/components/navigation/MainMenu.tsx

@@ -7,6 +7,7 @@ import {
   FileOutlined,
   FileOutlined,
   SettingOutlined,
   SettingOutlined,
   PlusOutlined,
   PlusOutlined,
+  ToolOutlined,
 } from "@ant-design/icons";
 } from "@ant-design/icons";
 import { useNavigate, useMatches, type UIMatch } from "react-router";
 import { useNavigate, useMatches, type UIMatch } from "react-router";
 import {
 import {
@@ -281,7 +282,7 @@ const Widget = ({ onSearch }: Props) => {
     },
     },
     {
     {
       key: "/workspace/tools",
       key: "/workspace/tools",
-      icon: <CourseOutLinedIcon />,
+      icon: <ToolOutlined />,
       label: intl.formatMessage({ id: "labels.tools" }),
       label: intl.formatMessage({ id: "labels.tools" }),
       children: [
       children: [
         {
         {