[pbs-devel] [PATCH proxmox-backup 4/5] ui: datastore/Summary: change storage axis to power of two
Dominik Csapak
d.csapak at proxmox.com
Tue May 17 08:52:14 CEST 2022
so that the unit is the same as in the overview panel on the same page
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/datastore/Summary.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/datastore/Summary.js b/www/datastore/Summary.js
index 328aa561..3c07d512 100644
--- a/www/datastore/Summary.js
+++ b/www/datastore/Summary.js
@@ -237,6 +237,8 @@ Ext.define('PBS.DataStoreSummary', {
xtype: 'proxmoxRRDChart',
title: gettext('Storage usage (bytes)'),
fields: ['total', 'used'],
+ unit: 'bytes',
+ powerOfTwo: true,
fieldTitles: [gettext('Total'), gettext('Storage usage')],
},
{
--
2.30.2
More information about the pbs-devel
mailing list