diff --git a/shell/app/modules/cmp/pages/cluster-manage/cluster-list.tsx b/shell/app/modules/cmp/pages/cluster-manage/cluster-list.tsx index e9ae54f195..d306db5e92 100644 --- a/shell/app/modules/cmp/pages/cluster-manage/cluster-list.tsx +++ b/shell/app/modules/cmp/pages/cluster-manage/cluster-list.tsx @@ -226,7 +226,14 @@ const ClusterList = ({ dataSource, onEdit }: IProps) => { }, }; const clusterOpsMap = { - edas: [edit, deleteClusterCall], + edas: [ + edit, + deleteClusterCall, + ...insertWhen(get(clusterDetail, 'basic.manageType.value') === 'agent', [showRegisterCommand]), + ...insertWhen(['initialize error', 'unknown'].includes(get(clusterDetail, 'basic.clusterStatus.value')), [ + retryInit, + ]), + ], k8s: [ addMachine, addCloudMachines, @@ -234,7 +241,9 @@ const ClusterList = ({ dataSource, onEdit }: IProps) => { upgrade, deleteClusterCall, ...insertWhen(get(clusterDetail, 'basic.manageType.value') === 'agent', [showRegisterCommand]), - ...insertWhen(get(clusterDetail, 'basic.clusterStatus.value') === 'initialize error', [retryInit]), + ...insertWhen(['initialize error', 'unknown'].includes(get(clusterDetail, 'basic.clusterStatus.value')), [ + retryInit, + ]), ], 'alicloud-cs': [addMachine, addCloudMachines, edit, upgrade, deleteClusterCall], 'alicloud-cs-managed': [addMachine, addCloudMachines, edit, upgrade, deleteClusterCall], diff --git a/shell/app/styles/antd-extension.scss b/shell/app/styles/antd-extension.scss index 21aa9cf15b..a44b0e9ed8 100644 --- a/shell/app/styles/antd-extension.scss +++ b/shell/app/styles/antd-extension.scss @@ -118,7 +118,7 @@ $border-style: 1px solid $color-border; } .ant-form-inline { - flex-wrap: nowrap; + flex-wrap: nowrap !important; } div.ant-modal-body {