mirror of
https://github.com/getbible/app.git
synced 2024-12-22 07:48:55 +00:00
added getters to computed'
This commit is contained in:
parent
b211215a29
commit
6987e01b65
@ -7,7 +7,8 @@
|
|||||||
<div class="uk-navbar-left">
|
<div class="uk-navbar-left">
|
||||||
|
|
||||||
<!-- <a class="uk-navbar-item uk-logo" href="#">GetBible</a> -->
|
<!-- <a class="uk-navbar-item uk-logo" href="#">GetBible</a> -->
|
||||||
|
<a href="#selection" class="uk-navbar-item uk-search uk-search-default" uk-toggle><span uk-icon="icon: album; ratio:2"></span>{{book_name}}{{chapter}}</a>
|
||||||
|
|
||||||
<a href="#offcanvas-slide" class="uk-navbar-item uk-search uk-search-default" uk-toggle><span uk-icon="icon: search; ratio:2"></span>Search</a>
|
<a href="#offcanvas-slide" class="uk-navbar-item uk-search uk-search-default" uk-toggle><span uk-icon="icon: search; ratio:2"></span>Search</a>
|
||||||
|
|
||||||
<search/>
|
<search/>
|
||||||
@ -16,7 +17,7 @@
|
|||||||
<a class="uk-navbar-item" href="#" uk-toggle><span uk-icon="icon: history; ratio:2"></span></a>
|
<a class="uk-navbar-item" href="#" uk-toggle><span uk-icon="icon: history; ratio:2"></span></a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<a class="uk-navbar-item uk-position-center-right" href="#modal-sections" uk-toggle><span uk-icon="icon: cog; ratio:2"></span></a>
|
<a class="uk-navbar-item uk-position-center-right" href="#modal-sections" uk-toggle><span class="uk-icon-button" uk-icon="icon: cog; ratio:2"></span></a>
|
||||||
|
|
||||||
<div id="modal-sections" uk-modal>
|
<div id="modal-sections" uk-modal>
|
||||||
<div class="uk-modal-dialog">
|
<div class="uk-modal-dialog">
|
||||||
@ -61,10 +62,10 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</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" @click="saveSettings()" type="button">Save</button>
|
<button class="uk-button uk-button-primary" @click="saveSettings()" type="button">Save</button>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -86,6 +87,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import UIkit from 'uikit';
|
import UIkit from 'uikit';
|
||||||
|
import {mapGetters} from 'vuex';
|
||||||
import Search from './Search.vue';
|
import Search from './Search.vue';
|
||||||
import getbible from '../api/getbible_v2_api'
|
import getbible from '../api/getbible_v2_api'
|
||||||
|
|
||||||
@ -101,10 +103,10 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
saved_translations() {
|
saved_translations() {
|
||||||
console.log(this.$store.state.saved_translations[0]);
|
// console.log(this.$store.state.saved_translations[0]);
|
||||||
return this.$store.state.saved_translations;
|
return this.$store.state.saved_translations;
|
||||||
},
|
},
|
||||||
|
...mapGetters(['book_name', 'chapter'])
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
Reference in New Issue
Block a user