Skip to content

Commit 0d0592e

Browse files
committed
fix: sorter tooltip
1 parent cc7948b commit 0d0592e

File tree

6 files changed

+8
-0
lines changed

6 files changed

+8
-0
lines changed

src/pages/api-keys/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ const APIKeys: React.FC = () => {
145145
rowSelection={rowSelection}
146146
loading={dataSource.loading}
147147
sortDirections={TABLE_SORT_DIRECTIONS}
148+
showSorterTooltip={false}
148149
rowKey="id"
149150
onChange={handleTableChange}
150151
pagination={{

src/pages/cluster-management/credentials.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import DeleteModal from '@/components/delete-modal';
33
import IconFont from '@/components/icon-font';
44
import { FilterBar } from '@/components/page-tools';
55
import { PageAction } from '@/config';
6+
import { TABLE_SORT_DIRECTIONS } from '@/config/settings';
67
import type { PageActionType } from '@/config/types';
78
import useTableFetch from '@/hooks/use-table-fetch';
89
import { useIntl, useNavigate } from '@umijs/max';
@@ -203,6 +204,8 @@ const Credentials: React.FC = () => {
203204
dataSource={dataSource.dataList}
204205
rowSelection={rowSelection}
205206
loading={dataSource.loading}
207+
sortDirections={TABLE_SORT_DIRECTIONS}
208+
showSorterTooltip={false}
206209
rowKey="id"
207210
onChange={handleTableChange}
208211
pagination={{

src/pages/resources/components/gpus.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ const GPUList: React.FC = () => {
105105
columns={columns}
106106
style={{ width: '100%' }}
107107
sortDirections={TABLE_SORT_DIRECTIONS}
108+
showSorterTooltip={false}
108109
tableLayout={dataSource.loadend ? 'auto' : 'fixed'}
109110
dataSource={dataSource.dataList}
110111
loading={dataSource.loading}

src/pages/resources/components/model-files.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ const ModelFiles = () => {
321321
rowKey="id"
322322
tableLayout="fixed"
323323
sortDirections={TABLE_SORT_DIRECTIONS}
324+
showSorterTooltip={false}
324325
style={{ width: '100%' }}
325326
onChange={handleTableChange}
326327
dataSource={dataSource.dataList}

src/pages/resources/components/workers.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ const Workers: React.FC = () => {
275275
<Table
276276
columns={columns}
277277
sortDirections={TABLE_SORT_DIRECTIONS}
278+
showSorterTooltip={false}
278279
tableLayout={dataSource.loadend ? 'auto' : 'fixed'}
279280
style={{ width: '100%' }}
280281
dataSource={dataSource.dataList}

src/pages/users/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ const Users: React.FC = () => {
194194
rowSelection={rowSelection}
195195
loading={dataSource.loading}
196196
sortDirections={TABLE_SORT_DIRECTIONS}
197+
showSorterTooltip={false}
197198
rowKey="id"
198199
onChange={handleTableChange}
199200
pagination={{

0 commit comments

Comments
 (0)