[pbs-devel] [PATCH proxmox-backup] fix #3447: ui: Dashboard: disallow selection of datastore statistics row

Dominik Csapak d.csapak at proxmox.com
Thu May 27 10:52:17 CEST 2021


since we cannot do anything with a selected row anyway, simply
disallow it

this avoids having the row in the same color as the progressbar, without
being able to deselect the row again

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/dashboard/DataStoreStatistics.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/dashboard/DataStoreStatistics.js b/www/dashboard/DataStoreStatistics.js
index 61375e2b..8860a086 100644
--- a/www/dashboard/DataStoreStatistics.js
+++ b/www/dashboard/DataStoreStatistics.js
@@ -49,6 +49,7 @@ Ext.define('PBS.DatastoreStatistics', {
     alias: 'widget.pbsDatastoresStatistics',
 
     title: gettext('Datastore Usage'),
+    disableSelection: true,
 
     emptyText: gettext('No Data'),
 
-- 
2.20.1






More information about the pbs-devel mailing list