add edit link for admin

This commit is contained in:
axolotle
2021-08-01 15:41:31 +02:00
parent fab868c7ed
commit bdfb80e092
2 changed files with 16 additions and 1 deletions
+2
View File
@@ -17,6 +17,7 @@ import {
export default {
state: {
debug: localStorage.getItem('debug') === 'true',
nodes: {},
history: [],
optionsVisible: true,
@@ -170,6 +171,7 @@ export default {
},
getters: {
debug: state => state.debug,
allNodes: state => state.nodes,
// Args getters
nodes: state => ids => ids.map(id => state.nodes[id]),