improve account resource chart creation,

now allows categories to have the same name as another resource without collision issue
This commit is contained in:
alu
2026-07-22 00:58:22 +00:00
parent 7809e6adb1
commit 813bb911c2
2 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<p id="nodes">Nodes: {{MapKeys .AllowedNodes ", "}}</p>
<p id="backups">Max Backups Per Instance: {{.AllowedBackups.MaxPerInstance}} Max Backups Total: {{.AllowedBackups.MaxTotal}}</p>
<div>
{{range $category, $v := .Resources}}
{{range $category, $v := .ResourceCharts}}
{{if eq $category ""}}
<h4>Generic</h4>
{{else}}