mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
@@ -188,7 +188,9 @@ function showResources(namespace, chart, revision) {
|
||||
const cond = res.status.conditions[k]
|
||||
|
||||
const badge = $("<span class='badge me-2 fw-normal'></span>").text(cond.reason);
|
||||
if (cond.status === "Healthy") {
|
||||
if (cond.status === "Unknown") {
|
||||
badge.addClass("bg-secondary text-danger")
|
||||
} else if (cond.status === "Healthy") {
|
||||
badge.addClass("bg-success text-dark")
|
||||
} else if (cond.status === "Progressing") {
|
||||
badge.addClass("bg-warning")
|
||||
|
||||
Reference in New Issue
Block a user