Procházet zdrojové kódy

show dict name in admin

visuddhinanda před 3 roky
rodič
revize
518f3d43e8
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      dashboard/src/components/dict/UserDictList.tsx

+ 1 - 0
dashboard/src/components/dict/UserDictList.tsx

@@ -186,6 +186,7 @@ const UserDictListWidget = ({ studioName, view = "studio" }: IWidget) => {
             }),
             dataIndex: "dict",
             key: "dict",
+            hideInTable: view !== "all",
             search: false,
             render: (text, row, index, action) => {
               return row.dict?.shortname;