add edit link for admin
This commit is contained in:
@@ -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]),
|
||||
|
||||
Reference in New Issue
Block a user