ui: avoid ascending to upper NS on double click of current
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
15808a9023
commit
f4d246072d
@ -88,10 +88,9 @@ Ext.define('PBS.DataStoreContent', {
|
||||
},
|
||||
|
||||
rowDoubleClicked: function(table, rec, el, rowId, ev) {
|
||||
if (rec?.data?.ty !== 'ns') {
|
||||
return;
|
||||
if (rec?.data?.ty === 'ns' && !rec.data.root) {
|
||||
this.nsChange(null, rec.data.ns);
|
||||
}
|
||||
this.nsChange(null, rec.data.ns);
|
||||
},
|
||||
|
||||
nsChange: function(field, value) {
|
||||
|
Loading…
Reference in New Issue
Block a user