ui: add namespace: preselect current NS as parent for new one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e22ad28302
commit
15808a9023
|
@ -482,6 +482,7 @@ Ext.define('PBS.DataStoreContent', {
|
|||
Ext.create('PBS.window.NamespaceEdit', {
|
||||
autoShow: true,
|
||||
datastore: view.datastore,
|
||||
namespace: view.namespace ?? '',
|
||||
listeners: {
|
||||
destroy: () => view.down('pbsNamespaceSelector').store?.load(),
|
||||
},
|
||||
|
|
|
@ -34,6 +34,7 @@ Ext.define('PBS.window.NamespaceEdit', {
|
|||
name: 'parent',
|
||||
fieldLabel: gettext('Parent Namespace'),
|
||||
cbind: {
|
||||
value: '{namespace}',
|
||||
datastore: '{datastore}',
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue