proxmox-backup-client: use HumanByte to render snapshot size

This commit is contained in:
Dietmar Maurer committed 2020-10-20 11:43:48 +02:00
1 parent 6f757b8458
commit 23440482d4
2 files changed
+14 -1

No files matched your search

+1 -1
View File
@@ -510,7 +510,7 @@ async fn list_snapshots(param: Value) -> Result<Value, Error> {
.sortby("backup-id", false)
.sortby("backup-time", false)
.column(ColumnConfig::new("backup-id").renderer(render_snapshot_path).header("snapshot"))
.column(ColumnConfig::new("size"))
.column(ColumnConfig::new("size").renderer(tools::format::render_bytes_human_readable))
.column(ColumnConfig::new("files").renderer(render_files))
;