feat: model list add stop and start button

This commit is contained in:
jialin
2024-12-18 16:13:58 +08:00
parent 57a1af9392
commit f44aee0af4
7 changed files with 54 additions and 69 deletions
@@ -8,8 +8,8 @@ import {
ListItem as WorkerListItem
} from '@/pages/resources/config/types';
import {
DeleteOutlined,
FieldTimeOutlined,
FileSyncOutlined,
InfoCircleOutlined
} from '@ant-design/icons';
import { useIntl } from '@umijs/max';
@@ -71,12 +71,12 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
icon: <FieldTimeOutlined />
},
{
label: 'common.button.delete',
label: 'common.button.recreate',
key: 'delete',
props: {
danger: true
danger: false
},
icon: <DeleteOutlined />
icon: <FileSyncOutlined />
}
];