diff --git a/src/views/mobile/transactions/List.vue b/src/views/mobile/transactions/List.vue index c0a08558..db06d684 100644 --- a/src/views/mobile/transactions/List.vue +++ b/src/views/mobile/transactions/List.vue @@ -441,17 +441,16 @@ export default { self.loading = true; } - const promises = [ + Promise.all([ self.$store.dispatch('loadAllAccounts', { force: false }), - self.$store.dispatch('loadAllCategories', { force: false }), - self.$store.dispatch('getTransactions', { + self.$store.dispatch('loadAllCategories', { force: false }) + ]).then(() => { + return self.$store.dispatch('getTransactions', { reload: true, autoExpand: true, defaultCurrency: self.defaultCurrency - }) - ]; - - Promise.all(promises).then(() => { + }); + }).then(() => { if (done) { done(); }