Recognize "Bound" status as normal

This commit is contained in:
Andrei Pohilko
2022-10-26 16:14:10 +01:00
parent b2ec371709
commit 7d50f4e620

View File

@@ -172,7 +172,7 @@ function showResources(namespace, chart, revision) {
//reportError("Failed to get list of resources")
}).done(function (data) {
const badge = $("<span class='badge me-2 fw-normal'></span>").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")