fix(style): instance status message

main
jialin 1 year ago
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)
}

Loading…
Cancel
Save