mirror of https://github.com/portainer/portainer
fix(apps): simplify helm status [r8s-155] (#230)
parent
069f22afa4
commit
94d2e32b49
|
@ -40,23 +40,28 @@ function Cell({
|
||||||
},
|
},
|
||||||
])}
|
])}
|
||||||
/>
|
/>
|
||||||
{item.DeploymentType ===
|
{item.ApplicationType !== KubernetesApplicationTypes.Helm && (
|
||||||
KubernetesApplicationDeploymentTypes.Replicated && (
|
<>
|
||||||
<span>Replicated</span>
|
{item.DeploymentType ===
|
||||||
)}
|
KubernetesApplicationDeploymentTypes.Replicated && (
|
||||||
{item.DeploymentType === KubernetesApplicationDeploymentTypes.Global && (
|
<span className="mr-1">Replicated</span>
|
||||||
<span>Global</span>
|
)}
|
||||||
)}
|
{item.DeploymentType ===
|
||||||
{item.RunningPodsCount >= 0 && item.TotalPodsCount >= 0 && (
|
KubernetesApplicationDeploymentTypes.Global && (
|
||||||
<span>
|
<span className="mr-1">Global</span>
|
||||||
<code aria-label="Running Pods" title="Running Pods">
|
)}
|
||||||
{item.RunningPodsCount}
|
{item.RunningPodsCount >= 0 && item.TotalPodsCount >= 0 && (
|
||||||
</code>{' '}
|
<span>
|
||||||
/{' '}
|
<code aria-label="Running Pods" title="Running Pods">
|
||||||
<code aria-label="Total Pods" title="Total Pods">
|
{item.RunningPodsCount}
|
||||||
{item.TotalPodsCount}
|
</code>{' '}
|
||||||
</code>
|
/{' '}
|
||||||
</span>
|
<code aria-label="Total Pods" title="Total Pods">
|
||||||
|
{item.TotalPodsCount}
|
||||||
|
</code>
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
{item.KubernetesApplications && <span>{item.Status}</span>}
|
{item.KubernetesApplications && <span>{item.Status}</span>}
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in New Issue