Explorar o código

sorter by category

visuddhinanda %!s(int64=3) %!d(string=hai) anos
pai
achega
12b85ff9d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard/src/pages/admin/relation/list.tsx

+ 1 - 1
dashboard/src/pages/admin/relation/list.tsx

@@ -278,7 +278,7 @@ const Widget = () => {
             }),
             dataIndex: "category",
             key: "category",
-
+            sorter: true,
             render: (text, row, index, action) => {
               return (
                 <Space>