fix update node
This commit is contained in:
parent
1119fad90c
commit
22628971ac
@ -140,6 +140,11 @@ async function updateSelectedNode() {
|
||||
console.log("Update node:", selectedNode.value)
|
||||
await updateNode(selectedNode.value)
|
||||
await loadGraph()
|
||||
|
||||
const nodes = graph.value.nodes.filter(function (it: GraphNode) {
|
||||
return it.id == selectedNode.value.id
|
||||
})
|
||||
selectNode(nodes[0])
|
||||
}
|
||||
|
||||
function nodeHeader(node: GraphNode): string {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user