chore: replace components with core-ui, upgrade eslint
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
// columns.ts
|
||||
import AutoTooltip from '@/components/auto-tooltip';
|
||||
import { tableSorter } from '@/config/settings';
|
||||
import { AutoTooltip } from '@gpustack/core-ui';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { Typography } from 'antd';
|
||||
import { ColumnsType } from 'antd/es/table';
|
||||
import { useMemo } from 'react';
|
||||
import RowActions from '../components/row-actions';
|
||||
import { BenchmarkListItem as ListItem } from '../config/types';
|
||||
|
||||
const useBenchmarkColumns = (params: {
|
||||
sortOrder: string[];
|
||||
columns: ColumnsType<ListItem>;
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import AutoTooltip from '@/components/auto-tooltip';
|
||||
import InfoColumn from '@/components/simple-table/info-column';
|
||||
import StatusTag from '@/components/status-tag';
|
||||
import { tableSorter } from '@/config/settings';
|
||||
import ColumnSettings from '@/pages/_components/column-settings';
|
||||
import {
|
||||
AutoTooltip,
|
||||
ColumnSettings,
|
||||
InfoColumn,
|
||||
StatusTag
|
||||
} from '@gpustack/core-ui';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { Typography } from 'antd';
|
||||
import dayjs from 'dayjs';
|
||||
@@ -14,7 +16,6 @@ import {
|
||||
BenchmarkStatusValueMap
|
||||
} from '../config';
|
||||
import { BenchmarkListItem as ListItem } from '../config/types';
|
||||
|
||||
// sort by this order
|
||||
const allFields = [
|
||||
'cluster_id',
|
||||
|
||||
Reference in New Issue
Block a user