ui: content: reload tree on succesful datastore add

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-15 16:03:16 +02:00
parent 508d644e87
commit e5824cd61f

View File

@ -483,10 +483,11 @@ Ext.define('PBS.DataStoreContent', {
autoShow: true,
datastore: view.datastore,
namespace: view.namespace ?? '',
listeners: {
destroy: () => {
apiCallDone: success => {
if (success) {
view.down('pbsNamespaceSelector').store?.load();
},
me.reload();
}
},
});
},