all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-backup v2] ui: datastore content: always reload after namespace move
@ 2026-04-28 13:16 Dominik Csapak
  2026-04-28 14:05 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-04-28 13:16 UTC (permalink / raw)
  To: pbs-devel

After a partial namespace move it could happen that some groups that
were in the current were actually moved, so reload the view and
namespace selector in any case.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
now rebased after the other patch was applied


 www/datastore/Content.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/datastore/Content.js b/www/datastore/Content.js
index 293f9ca26..37ed23f98 100644
--- a/www/datastore/Content.js
+++ b/www/datastore/Content.js
@@ -689,6 +689,10 @@ Ext.define('PBS.DataStoreContent', {
                         view.namespace = newNs;
                         let selector = view.down('pbsNamespaceSelector');
                         me.reload(() => selector.setValue(newNs));
+                    } else {
+                        // if we ran into an error, keep the current view, but
+                        // reload it and the namespace selector in case a new namespace was created
+                        me.reload();
                     }
                 },
             });
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-28 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 13:16 [PATCH proxmox-backup v2] ui: datastore content: always reload after namespace move Dominik Csapak
2026-04-28 14:05 ` applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal