modify method name
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user