From: David Riley <d.riley@proxmox.com>
To: pbs-devel@lists.proxmox.com
Cc: David Riley <d.riley@proxmox.com>
Subject: [PATCH proxmox-backup v2 1/1] fix #7412: ui: dashboard: persist datastore usage column state
Date: Thu, 26 Mar 2026 14:18:37 +0100 [thread overview]
Message-ID: <20260326131837.28941-2-d.riley@proxmox.com> (raw)
In-Reply-To: <20260326131837.28941-1-d.riley@proxmox.com>
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
next prev parent reply other threads:[~2026-03-26 13:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 13:18 [PATCH proxmox-backup v2 0/1] " David Riley
2026-03-26 13:18 ` David Riley [this message]
2026-03-27 10:05 ` Dominik Csapak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260326131837.28941-2-d.riley@proxmox.com \
--to=d.riley@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox