Преглед на файлове

parent dialog: fix parent name field

Martin Kunz преди 1 година
родител
ревизия
45bebd93a0
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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() {