fix(apps): simplify helm status [r8s-155] (#230)

release/2.25
Ali 2024-12-11 13:18:34 +13:00 committed by GitHub
parent 069f22afa4
commit 94d2e32b49
1 changed files with 22 additions and 17 deletions

View File

@ -40,12 +40,15 @@ function Cell({
},
])}
/>
{item.ApplicationType !== KubernetesApplicationTypes.Helm && (
<>
{item.DeploymentType ===
KubernetesApplicationDeploymentTypes.Replicated && (
<span>Replicated</span>
<span className="mr-1">Replicated</span>
)}
{item.DeploymentType === KubernetesApplicationDeploymentTypes.Global && (
<span>Global</span>
{item.DeploymentType ===
KubernetesApplicationDeploymentTypes.Global && (
<span className="mr-1">Global</span>
)}
{item.RunningPodsCount >= 0 && item.TotalPodsCount >= 0 && (
<span>
@ -58,6 +61,8 @@ function Cell({
</code>
</span>
)}
</>
)}
{item.KubernetesApplications && <span>{item.Status}</span>}
</>
);