Skip to content

Commit

Permalink
Rename "Not ready" to "Unknown" for "service readiness" chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ziogaschr committed Jan 5, 2024
1 parent fe0ae32 commit 726d3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/operators.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ export const actions = {
const parseOperators = function (operators) {
const upgradedOperators = {
Ready: 0,
'Not Ready': 0,
Unknown: 0,
}

for (const [, category] of Object.entries(operators)) {
for (const operator of category) {
if (operator.status === 1) {
upgradedOperators.Ready++
} else {
upgradedOperators['Not Ready']++
upgradedOperators.Unknown++
}
}
}
Expand Down

0 comments on commit 726d3e0

Please sign in to comment.