fix: fix health_status in magnum cluster

It should not use valueMap for health_status

Change-Id: Ib1418d2f4ba79ff7fb619365b8f71734d112e69d
This commit is contained in:
xusongfu 2022-11-29 15:42:41 +08:00
parent 0c3a946d21
commit b4f23fd78c
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ export class ClustersDetail extends Base {
{
title: t('Health Status'),
dataIndex: 'health_status',
valueMap: healthStatus,
render: (value) => healthStatus[value] || value || '-',
},
{
title: t('Health Status Reason'),

View File

@ -59,7 +59,7 @@ export class Clusters extends Base {
title: t('Health Status'),
isHideable: true,
dataIndex: 'health_status',
valueMap: healthStatus,
render: (value) => healthStatus[value] || value || '-',
},
{
title: t('Keypair'),