From c2b19a829587a1d20d6f57e92472e96a84f32e68 Mon Sep 17 00:00:00 2001 From: Fabricio Duarte Date: Wed, 24 Jun 2026 22:28:46 -0300 Subject: [PATCH] Allow obtaining a color for usage types that do not have a predefined one --- ui/src/views/plugins/quota/QuotaUsageTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/plugins/quota/QuotaUsageTab.vue b/ui/src/views/plugins/quota/QuotaUsageTab.vue index d8635c085f2..f0db55b335b 100644 --- a/ui/src/views/plugins/quota/QuotaUsageTab.vue +++ b/ui/src/views/plugins/quota/QuotaUsageTab.vue @@ -649,7 +649,7 @@ export default { }, getColor (row) { const quotaType = getQuotaTypeByName(row.name) - if (quotaType) { + if (quotaType?.chartColor) { return getChartColorObject(quotaType.chartColor) } return getChartColorObject(this.textToDeterministicColor(this.getName(row)))