diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-03-19 20:26:48 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-03-19 20:26:48 +0100 |
commit | a70a62d2f7188a36a08314ac2151dec7152fffa7 (patch) | |
tree | 174ce0b09092e4d77df3bf9698b8c8d4e06c89c6 /src | |
parent | bfb31b38540438432b60e1ccd8445c29748c67ee (diff) |
chore: remove loading on get emails
Diffstat (limited to 'src')
-rw-r--r-- | src/store.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/store.js b/src/store.js index dab3529..2fd04eb 100644 --- a/src/store.js +++ b/src/store.js @@ -44,7 +44,6 @@ export default new Vuex.Store({ }, // Get all emails and map them like an hash async get_emails({commit}) { - commit('loading_state', true) await fetch(`${this.state.api}/email/`) .then(async response => { const emails_list = await response.json(); @@ -56,7 +55,6 @@ export default new Vuex.Store({ commit('load_emails', emails_obj); }) - commit('loading_state', false) }, }, modules: { |