Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/pages/api-keys/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ const APIKeys: React.FC = () => {
rowSelection={rowSelection}
loading={dataSource.loading}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
rowKey="id"
onChange={handleTableChange}
pagination={{
Expand Down
3 changes: 3 additions & 0 deletions src/pages/cluster-management/credentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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={{
Expand Down
1 change: 1 addition & 0 deletions src/pages/resources/components/gpus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
1 change: 1 addition & 0 deletions src/pages/resources/components/model-files.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ const ModelFiles = () => {
rowKey="id"
tableLayout="fixed"
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
style={{ width: '100%' }}
onChange={handleTableChange}
dataSource={dataSource.dataList}
Expand Down
1 change: 1 addition & 0 deletions src/pages/resources/components/workers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ const Workers: React.FC = () => {
<Table
columns={columns}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
tableLayout={dataSource.loadend ? 'auto' : 'fixed'}
style={{ width: '100%' }}
dataSource={dataSource.dataList}
Expand Down
1 change: 1 addition & 0 deletions src/pages/users/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const Users: React.FC = () => {
rowSelection={rowSelection}
loading={dataSource.loading}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
rowKey="id"
onChange={handleTableChange}
pagination={{
Expand Down