diff --git a/src/store/index.js b/src/store/index.js index c6f53cd9..1be57286 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -104,7 +104,7 @@ import { import { initTransactionListFilter, updateTransactionListFilter, - getTransactions, + loadTransactions, getTransaction, saveTransaction, deleteTransaction, @@ -771,7 +771,7 @@ const stores = { // transaction initTransactionListFilter, updateTransactionListFilter, - getTransactions, + loadTransactions, getTransaction, saveTransaction, deleteTransaction, diff --git a/src/store/transaction.js b/src/store/transaction.js index 8c40264c..4155b7c1 100644 --- a/src/store/transaction.js +++ b/src/store/transaction.js @@ -30,7 +30,7 @@ export function updateTransactionListFilter(context, filter) { context.commit(UPDATE_TRANSACTION_LIST_FILTER, filter); } -export function getTransactions(context, { reload, autoExpand, defaultCurrency }) { +export function loadTransactions(context, { reload, autoExpand, defaultCurrency }) { let actualMaxTime = context.state.transactionsNextTimeId; if (reload && context.state.transactionsFilter.maxTime > 0) { diff --git a/src/views/mobile/transactions/List.vue b/src/views/mobile/transactions/List.vue index 4b064f15..c0d0829d 100644 --- a/src/views/mobile/transactions/List.vue +++ b/src/views/mobile/transactions/List.vue @@ -453,7 +453,7 @@ export default { self.$store.dispatch('loadAllAccounts', { force: false }), self.$store.dispatch('loadAllCategories', { force: false }) ]).then(() => { - return self.$store.dispatch('getTransactions', { + return self.$store.dispatch('loadTransactions', { reload: true, autoExpand: true, defaultCurrency: self.defaultCurrency @@ -493,7 +493,7 @@ export default { self.loadingMore = true; - self.$store.dispatch('getTransactions', { + self.$store.dispatch('loadTransactions', { reload: false, autoExpand: autoExpand, defaultCurrency: self.defaultCurrency