mirror of
https://github.com/getbible/app.git
synced 2025-03-31 00:32:21 +00:00
added save method to save translations
This commit is contained in:
parent
897d99dc35
commit
7fbfe6e8ca
@ -107,7 +107,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="uk-modal-footer uk-text-right">
|
<div class="uk-modal-footer uk-text-right">
|
||||||
<button class="uk-button uk-button-default uk-modal-close" type="button">Cancel</button>
|
<button class="uk-button uk-button-default uk-modal-close" type="button">Cancel</button>
|
||||||
<button class="uk-button uk-button-primary" type="button">Save</button>
|
<button class="uk-button uk-button-primary" @click="saveSettings()" type="button">Save</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -115,6 +115,8 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import UIkit from 'uikit';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data: () => {
|
data: () => {
|
||||||
return {
|
return {
|
||||||
@ -145,6 +147,10 @@ export default {
|
|||||||
},
|
},
|
||||||
remove(tr){
|
remove(tr){
|
||||||
this.$store.dispatch('remove', tr)
|
this.$store.dispatch('remove', tr)
|
||||||
|
},
|
||||||
|
saveSettings(){
|
||||||
|
this.$store.commit('set_settings', this.$store.state.settings)
|
||||||
|
UIkit.modal('#modal-sections').hide()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created(){
|
async created(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user