fix(style): instance status message

This commit is contained in:
jialin
2025-01-09 14:56:48 +08:00
parent 08f9029bf8
commit a93db0a038
@@ -262,21 +262,6 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
>
{item.state && (
<StatusTag
actions={
item.state === InstanceStatusMap.Error
? [
{
label: intl.formatMessage({
id: 'common.button.viewlog'
}),
key: 'viewlog',
icon: <IconFont type="icon-logs" />,
onClick: () =>
handleChildSelect('viewlog', item, list)
}
]
: []
}
download={
item.state === InstanceStatusMap.Downloading
? { percent: item.download_progress }
@@ -287,6 +272,8 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
<Button
type="link"
size="small"
style={{ paddingLeft: 0 }}
icon={<IconFont type="icon-logs" />}
onClick={() =>
handleChildSelect('viewlog', item, list)
}