mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(apps): simplify helm status [r8s-155] (#230)
This commit is contained in:
parent
069f22afa4
commit
94d2e32b49
1 changed files with 22 additions and 17 deletions
|
@ -40,12 +40,15 @@ function Cell({
|
||||||
},
|
},
|
||||||
])}
|
])}
|
||||||
/>
|
/>
|
||||||
|
{item.ApplicationType !== KubernetesApplicationTypes.Helm && (
|
||||||
|
<>
|
||||||
{item.DeploymentType ===
|
{item.DeploymentType ===
|
||||||
KubernetesApplicationDeploymentTypes.Replicated && (
|
KubernetesApplicationDeploymentTypes.Replicated && (
|
||||||
<span>Replicated</span>
|
<span className="mr-1">Replicated</span>
|
||||||
)}
|
)}
|
||||||
{item.DeploymentType === KubernetesApplicationDeploymentTypes.Global && (
|
{item.DeploymentType ===
|
||||||
<span>Global</span>
|
KubernetesApplicationDeploymentTypes.Global && (
|
||||||
|
<span className="mr-1">Global</span>
|
||||||
)}
|
)}
|
||||||
{item.RunningPodsCount >= 0 && item.TotalPodsCount >= 0 && (
|
{item.RunningPodsCount >= 0 && item.TotalPodsCount >= 0 && (
|
||||||
<span>
|
<span>
|
||||||
|
@ -58,6 +61,8 @@ function Cell({
|
||||||
</code>
|
</code>
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
{item.KubernetesApplications && <span>{item.Status}</span>}
|
{item.KubernetesApplications && <span>{item.Status}</span>}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue