Commit f87b3575 authored by gick's avatar gick
Browse files

OSM bug

parent 5902b0bd
......@@ -20,7 +20,7 @@
<v-ons-list-item>
<div class="center">{{ $t('allowOSMModif') }}</div>
<div class="right">
<v-ons-switch @change="osmUpdates"></v-ons-switch>
<v-ons-switch v-model="osmUpdates"></v-ons-switch>
</div>
</v-ons-list-item>
......
......@@ -126,7 +126,7 @@ export default {
},
computed: {
osmUpdates(){
return this.$store.state.commonData.osmUpdate
return this.$store.state.commonData.osmUpdates
},
releve() {
return this.$store.state.releve.releves.find(rel => rel._id == this.id);
......
......@@ -37,7 +37,7 @@ export default {
},
computed: {
osmUpdates(){
return this.$store.state.commonData.osmUpdate
return this.$store.state.commonData.osmUpdates
},
},
......
......@@ -227,7 +227,7 @@ export default {
return this.releve._id
},
osmUpdates() {
return this.$store.state.commonData.osmUpdate;
return this.$store.state.commonData.osmUpdates;
},
treeList() {
return this.$store.state.floreData.treeList;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment