瀏覽代碼

:sparkles: add preference in Dictionary

visuddhinanda 1 年之前
父節點
當前提交
b1dedc6ab0
共有 1 個文件被更改,包括 11 次插入1 次删除
  1. 11 1
      dashboard-v4/dashboard/src/components/admin/LeftSider.tsx

+ 11 - 1
dashboard-v4/dashboard/src/components/admin/LeftSider.tsx

@@ -40,8 +40,18 @@ const LeftSiderWidget = ({ selectedKeys = "" }: IWidgetHeadBar) => {
           key: "nissaya-ending",
         },
         {
-          label: <Link to="/admin/dictionary/list">Dictionary</Link>,
+          label: "Dictionary",
           key: "dict",
+          children: [
+            {
+              label: <Link to="/admin/dictionary/list">List</Link>,
+              key: "list",
+            },
+            {
+              label: <Link to="/admin/dictionary/preference">Preference</Link>,
+              key: "preference",
+            },
+          ],
         },
         {
           label: <Link to="/admin/users/list">users</Link>,