frontend BUGFIX displayinh list nodes in configuration view
move module_name to the right of the view and refactor how the node
information are placed into the DOM
diff --git a/frontend/config/tree.component.ts b/frontend/config/tree.component.ts
index 7cc941f..bcb4da4 100644
--- a/frontend/config/tree.component.ts
+++ b/frontend/config/tree.component.ts
@@ -212,12 +212,13 @@
if ((node['info']['key'] && !node['new']) || node['deleted']) {
return;
}
- let parent = target.parentElement;
+
+ let container = target.parentElement.parentElement;
this.modsService.setEdit(this.activeSession, node, true)
this.changeDetector.detectChanges();
- parent.nextElementSibling.lastElementChild.focus();
+ container.nextElementSibling.lastElementChild.focus();
}
checkValue(node, target, trusted = false) {