weed admin: disk types card can also show all disk type values, not just a count.

This commit is contained in:
chrislu
2025-07-02 23:31:17 -07:00
parent 5e6d94319b
commit 645b6d2603
3 changed files with 13 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ templ ClusterVolumes(data dash.ClusterVolumesData) {
if data.DiskTypeCount == 1 {
{data.SingleDiskType}
} else {
{fmt.Sprintf("%d", data.DiskTypeCount)}
{strings.Join(data.AllDiskTypes, ", ")}
}
</div>
</div>