WIP Buttons only when not editing

This commit is contained in:
portree_kid
2020-05-25 21:13:13 +02:00
parent 37e97e84e2
commit 9a3f473949
4 changed files with 17 additions and 5 deletions
+3
View File
@@ -13,6 +13,9 @@ const SET_EDIT_ARC = 'SET_EDIT_ARC'
const SET_EDIT_RUNWAY = 'SET_EDIT_RUNWAY'
const mutations = {
SET_EDIT (state, editing) {
state.editing = editing
},
SET_EDIT_AIRPORT (state, airport) {
Vue.set(state.data, 'airport', airport)
state.index = airport.icao