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.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/resources/js/store.js b/resources/js/store.js
index 461b34e..6ec3711 100644
--- a/resources/js/store.js
+++ b/resources/js/store.js
@@ -29,8 +29,11 @@ export default new Vuex.Store({
context.commit('setSelectedSign', sign);
},
fillSigns(context) {
- let data = ['test', 'TEST', 'TeSt'];
- context.commit('fillSigns', data);
+ axios.get('/special-calls/show').then(response => {
+ context.commit('fillSigns', response.data);
+ }).catch(error => {
+ console.log(error);
+ });
}
}
});