aboutsummaryrefslogtreecommitdiff
path: root/resources/js/store.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/store.js')
-rw-r--r--resources/js/store.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/js/store.js b/resources/js/store.js
index 6ec3711..669f0bc 100644
--- a/resources/js/store.js
+++ b/resources/js/store.js
@@ -28,8 +28,8 @@ export default new Vuex.Store({
setSelectedSign(context, sign) {
context.commit('setSelectedSign', sign);
},
- fillSigns(context) {
- axios.get('/special-calls/show').then(response => {
+ async fillSigns(context) {
+ await axios.get('/special-calls/show').then(response => {
context.commit('fillSigns', response.data);
}).catch(error => {
console.log(error);