* [pbs-devel] [PATCH proxmox-backup] fix #3447: ui: Dashboard: disallow selection of datastore statistics row
@ 2021-05-27 8:52 Dominik Csapak
2021-07-12 4:19 ` [pbs-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2021-05-27 8:52 UTC (permalink / raw)
To: pbs-devel
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pbs-devel] applied: [PATCH proxmox-backup] fix #3447: ui: Dashboard: disallow selection of datastore statistics row
2021-05-27 8:52 [pbs-devel] [PATCH proxmox-backup] fix #3447: ui: Dashboard: disallow selection of datastore statistics row Dominik Csapak
@ 2021-07-12 4:19 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-07-12 4:19 UTC (permalink / raw)
To: Proxmox Backup Server development discussion, Dominik Csapak
On 27.05.21 10:52, Dominik Csapak wrote:
> 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@proxmox.com>
> ---
> www/dashboard/DataStoreStatistics.js | 1 +
> 1 file changed, 1 insertion(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-12 4:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 8:52 [pbs-devel] [PATCH proxmox-backup] fix #3447: ui: Dashboard: disallow selection of datastore statistics row Dominik Csapak
2021-07-12 4:19 ` [pbs-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox