Explorar o código

parent dialog: fix parent name field

Martin Kunz hai 1 ano
pai
achega
45bebd93a0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/components/TheParent.vue

+ 2 - 0
src/components/TheParent.vue

@@ -21,6 +21,8 @@ function clickNode(clickedNode: UABaseNode) {
 
 watch(node, async (newNode, _oldNode) => {
   selectedRefType.value=newNode?.getParentRef()?.referenceType||"";
+  selectedParent.value=newNode?.getParent()||UABaseNode.nullBaseNode;
+
 })
 
 function okPressed() {