fix: miss model file path in cloning

This commit is contained in:
jialin
2026-02-11 11:05:43 +08:00
parent 3f90642726
commit 2ba94f7524
13 changed files with 129 additions and 52 deletions
@@ -8,7 +8,6 @@ import { Typography } from 'antd';
import dayjs from 'dayjs';
import _, { round } from 'lodash';
import React from 'react';
import styled from 'styled-components';
import {
BenchmarkStatus,
BenchmarkStatusLabelMap,
@@ -16,6 +15,7 @@ import {
} from '../config';
import { BenchmarkListItem as ListItem } from '../config/types';
// sort by this order
const allFields = [
'cluster_id',
'model_name',
@@ -45,15 +45,6 @@ const fieldSortPos: Record<string, number> = Object.fromEntries(
allFields.map((field, index) => [field, index + 1])
);
const SubTitleWrapper = styled.span.attrs({
className: 'sub-title'
})`
display: list-item;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
`;
const defaultColumns: string[] = [
'model_name',
'dataset_name',