From 7d50f4e6200ad97628671525d442d54f088e606b Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Wed, 26 Oct 2022 16:14:10 +0100 Subject: [PATCH] Recognize "Bound" status as normal --- pkg/dashboard/static/details-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dashboard/static/details-view.js b/pkg/dashboard/static/details-view.js index 2b9c54d..e23dbdb 100644 --- a/pkg/dashboard/static/details-view.js +++ b/pkg/dashboard/static/details-view.js @@ -172,7 +172,7 @@ function showResources(namespace, chart, revision) { //reportError("Failed to get list of resources") }).done(function (data) { const badge = $("").text(data.status.phase); - if (["Available", "Active", "Established"].includes(data.status.phase)) { + if (["Available", "Active", "Established", "Bound"].includes(data.status.phase)) { badge.addClass("bg-success text-dark") } else if (["Exists"].includes(data.status.phase)) { badge.addClass("bg-success text-dark bg-opacity-50")