summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/store.js2
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: {