diff options
author | Mateja <mail@matejamaric.com> | 2021-03-14 14:04:28 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-03-14 14:04:28 +0100 |
commit | 00abd5229c63b570af751406fc322e197c4f51c0 (patch) | |
tree | abfaf8c7a26a29dab80e8589d3fcdb8350300b9f /resources/js/components | |
parent | c3a0c1a40262343e1c7e6ec9a0bba9772054ba6d (diff) | |
download | yota-laravel-00abd5229c63b570af751406fc322e197c4f51c0.tar.gz yota-laravel-00abd5229c63b570af751406fc322e197c4f51c0.zip |
Better import/export.
Diffstat (limited to 'resources/js/components')
-rw-r--r-- | resources/js/components/call-sign-filter.vue | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/resources/js/components/call-sign-filter.vue b/resources/js/components/call-sign-filter.vue index 658b0d2..07d339d 100644 --- a/resources/js/components/call-sign-filter.vue +++ b/resources/js/components/call-sign-filter.vue @@ -6,23 +6,21 @@ </template> <script> -import store from '../store.js'; - export default { mounted() { - store.dispatch('fillSigns'); + this.$store.dispatch('fillSigns'); }, computed: { selected: { get() { - return store.getters.getSelectedSign; + return this.$store.getters.getSelectedSign; }, set(value) { - store.dispatch('setSelectedSign', value); + this.$store.dispatch('setSelectedSign', value); } }, options() { - return store.getters.getSigns; + return this.$store.getters.getSigns; } } } |