Browse Source

show dict name in admin

visuddhinanda 2 years ago
parent
commit
518f3d43e8
1 changed files with 1 additions and 0 deletions
  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",
             dataIndex: "dict",
             key: "dict",
             key: "dict",
+            hideInTable: view !== "all",
             search: false,
             search: false,
             render: (text, row, index, action) => {
             render: (text, row, index, action) => {
               return row.dict?.shortname;
               return row.dict?.shortname;