[PATCH proxmox-backup v2 1/1] fix #7412: ui: dashboard: persist datastore usage column state

David Riley
2026-03-26T13:19:36Z

Store the state of the columns for the Datastore Usage Dashboard.
Ensures the column configuration is maintained across
page reloads and navigations instead of resetting to the default view.

Fixes: https://bugzilla.proxmox.com/show_bug.cgi?id=7412
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
Tested-by: Christian Ebner <c.ebner@proxmox.com>
Signed-off-by: David Riley <d.riley@proxmox.com>
---
www/dashboard/DataStoreStatistics.js | 2 ++
1 file changed, 2 insertions(+)

diff --git a/www/dashboard/DataStoreStatistics.js b/www/dashboard/DataStoreStatistics.js
index c210d24d..1d38d1f2 100644
--- a/www/dashboard/DataStoreStatistics.js
+++ b/www/dashboard/DataStoreStatistics.js
@@ -55,6 +55,8 @@ Ext.define('PBS.DatastoreStatistics', {

title: gettext('Datastore Usage'),
disableSelection: true,
+ stateful: true,
+ stateId: 'grid-datastore-statistics',

emptyText: gettext('No Data'),

--
2.47.3