diff options
author | Mateja <mail@matejamaric.com> | 2021-03-14 18:22:56 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-03-14 18:22:56 +0100 |
commit | cc323d95fa3cad2d3ba437c37c4f29f8dff854eb (patch) | |
tree | 52b51c03b39552cd1708aba74dd3d546b51029cb /resources/js/store.js | |
parent | 95d863c82ad630d46b2195ef04d62d45b18e68a7 (diff) | |
download | yota-laravel-cc323d95fa3cad2d3ba437c37c4f29f8dff854eb.tar.gz yota-laravel-cc323d95fa3cad2d3ba437c37c4f29f8dff854eb.zip |
Finished call-sign-description component.
Diffstat (limited to 'resources/js/store.js')
-rw-r--r-- | resources/js/store.js | 4 |
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); |