fix: get models in cloning

This commit is contained in:
jialin
2026-02-10 10:25:02 +08:00
parent ba11689029
commit 8779b79bbf
5 changed files with 34 additions and 18 deletions
@@ -59,7 +59,6 @@ import {
ModelInstanceListItem,
SourceType
} from '../config/types';
import Filters from '../filters';
import useEditDeployment from '../hooks/use-edit-deployment';
import useFilterStatus from '../hooks/use-filter-status';
import useFormInitialValues from '../hooks/use-form-initial-values';
@@ -650,15 +649,6 @@ const Models: React.FC<ModelsProps> = ({
options={statusOptions}
onChange={handleStatusChange}
></BaseSelect>
<Filters
initialValues={{
cluster_id: undefined,
state: undefined,
categories: undefined
}}
clusterList={clusterList}
onValuesChange={onFilterChange}
></Filters>
<Button
type="text"
style={{ color: 'var(--ant-color-text-tertiary)' }}