mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 06:50:54 +00:00
ui: ceph: fix keeping selection after operation
Found by having the console open and getting a message that 'me' (the controller) does not have a method getRootNode() Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
fa8d397162
commit
b6b4c816a4
@ -348,7 +348,7 @@ Ext.define('PVE.node.CephOsdTree', {
|
||||
view.setRootNode(data.root);
|
||||
view.expandAll();
|
||||
if (name) {
|
||||
let node = me.getRootNode().findChild('name', name, true);
|
||||
let node = view.getRootNode().findChild('name', name, true);
|
||||
if (node) {
|
||||
view.setSelection([node]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user