...
This commit is contained in:
parent
eecb943b79
commit
43d1b12d17
@ -96,8 +96,8 @@ function Graph({graph}) {
|
|||||||
var node = evt.target;
|
var node = evt.target;
|
||||||
let nodeData = node.data();
|
let nodeData = node.data();
|
||||||
if (typeof nodeData.id === 'string') {
|
if (typeof nodeData.id === 'string') {
|
||||||
router.path = '/note/' + node.data().id
|
const path = '/note/' + node.data().id
|
||||||
router.reload()
|
router.push(path)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user