aboutsummaryrefslogtreecommitdiff
path: root/weed/admin/view
diff options
context:
space:
mode:
Diffstat (limited to 'weed/admin/view')
-rw-r--r--weed/admin/view/app/cluster_volumes.templ2
-rw-r--r--weed/admin/view/app/cluster_volumes_templ.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/admin/view/app/cluster_volumes.templ b/weed/admin/view/app/cluster_volumes.templ
index 312202f22..445de35b9 100644
--- a/weed/admin/view/app/cluster_volumes.templ
+++ b/weed/admin/view/app/cluster_volumes.templ
@@ -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>
diff --git a/weed/admin/view/app/cluster_volumes_templ.go b/weed/admin/view/app/cluster_volumes_templ.go
index 8194bee08..b2b88ca17 100644
--- a/weed/admin/view/app/cluster_volumes_templ.go
+++ b/weed/admin/view/app/cluster_volumes_templ.go
@@ -262,7 +262,7 @@ func ClusterVolumes(data dash.ClusterVolumesData) templ.Component {
}
} else {
var templ_7745c5c3_Var11 string
- templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.JoinStringErrs(fmt.Sprintf("%d", data.DiskTypeCount))
+ templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.JoinStringErrs(strings.Join(data.AllDiskTypes, ", "))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `view/app/cluster_volumes.templ`, Line: 164, Col: 78}
}