diff --git a/src/pages/api-keys/index.tsx b/src/pages/api-keys/index.tsx index 868ea32c..074aa2eb 100644 --- a/src/pages/api-keys/index.tsx +++ b/src/pages/api-keys/index.tsx @@ -145,6 +145,7 @@ const APIKeys: React.FC = () => { rowSelection={rowSelection} loading={dataSource.loading} sortDirections={TABLE_SORT_DIRECTIONS} + showSorterTooltip={false} rowKey="id" onChange={handleTableChange} pagination={{ diff --git a/src/pages/cluster-management/credentials.tsx b/src/pages/cluster-management/credentials.tsx index 0c232c78..6aea2bba 100644 --- a/src/pages/cluster-management/credentials.tsx +++ b/src/pages/cluster-management/credentials.tsx @@ -3,6 +3,7 @@ import DeleteModal from '@/components/delete-modal'; import IconFont from '@/components/icon-font'; import { FilterBar } from '@/components/page-tools'; import { PageAction } from '@/config'; +import { TABLE_SORT_DIRECTIONS } from '@/config/settings'; import type { PageActionType } from '@/config/types'; import useTableFetch from '@/hooks/use-table-fetch'; import { useIntl, useNavigate } from '@umijs/max'; @@ -203,6 +204,8 @@ const Credentials: React.FC = () => { dataSource={dataSource.dataList} rowSelection={rowSelection} loading={dataSource.loading} + sortDirections={TABLE_SORT_DIRECTIONS} + showSorterTooltip={false} rowKey="id" onChange={handleTableChange} pagination={{ diff --git a/src/pages/resources/components/gpus.tsx b/src/pages/resources/components/gpus.tsx index b1c903b6..d22a22cb 100644 --- a/src/pages/resources/components/gpus.tsx +++ b/src/pages/resources/components/gpus.tsx @@ -105,6 +105,7 @@ const GPUList: React.FC = () => { columns={columns} style={{ width: '100%' }} sortDirections={TABLE_SORT_DIRECTIONS} + showSorterTooltip={false} tableLayout={dataSource.loadend ? 'auto' : 'fixed'} dataSource={dataSource.dataList} loading={dataSource.loading} diff --git a/src/pages/resources/components/model-files.tsx b/src/pages/resources/components/model-files.tsx index b8445866..e71ce42c 100644 --- a/src/pages/resources/components/model-files.tsx +++ b/src/pages/resources/components/model-files.tsx @@ -321,6 +321,7 @@ const ModelFiles = () => { rowKey="id" tableLayout="fixed" sortDirections={TABLE_SORT_DIRECTIONS} + showSorterTooltip={false} style={{ width: '100%' }} onChange={handleTableChange} dataSource={dataSource.dataList} diff --git a/src/pages/resources/components/workers.tsx b/src/pages/resources/components/workers.tsx index 0911bfc3..6045c46d 100644 --- a/src/pages/resources/components/workers.tsx +++ b/src/pages/resources/components/workers.tsx @@ -275,6 +275,7 @@ const Workers: React.FC = () => { { rowSelection={rowSelection} loading={dataSource.loading} sortDirections={TABLE_SORT_DIRECTIONS} + showSorterTooltip={false} rowKey="id" onChange={handleTableChange} pagination={{