web app updated node context to use async
This commit is contained in:
parent
e11798bae5
commit
c989d809cb
2 changed files with 48 additions and 55 deletions
|
@ -245,7 +245,10 @@
|
|||
|
||||
const nodeId = coreNetwork.network.getNodeAt(location);
|
||||
if (nodeId) {
|
||||
nodeContext.show(nodeId, x, y);
|
||||
nodeContext.show(nodeId, x, y)
|
||||
.catch(function(err) {
|
||||
console.log('error showing node context: ', err);
|
||||
});
|
||||
} else {
|
||||
const edgeId = coreNetwork.network.getEdgeAt(location);
|
||||
if (edgeId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue