Author name in XML

This commit is contained in:
portree_kid
2020-03-13 22:45:26 +01:00
parent 43f8aeb9d6
commit 45980c3abe
3 changed files with 32 additions and 7 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
const state = {
settings: { flightgearDirectory: '.' },
settings: {flightgearDirectory: '.', name: ''},
zoom: 14,
center: [47.413220, -1.219482],
bounds: undefined
@@ -24,6 +24,9 @@ const mutations = {
},
'BOUNDS' (state, bounds) {
state.bounds = bounds
},
'SET_USERNAME' (state, name) {
state.settings.name = name
}
}