1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-06-13 21:48:39 -04:00

Re-fetch securities on successful import

This commit is contained in:
2017-06-10 14:38:40 -04:00
parent c4268ddfc8
commit 8cb222a107
3 changed files with 4 additions and 0 deletions

View File

@ -781,6 +781,7 @@ class AccountRegister extends React.Component {
handleImportComplete() {
this.props.onCloseImportModal();
this.props.onFetchAllAccounts();
this.props.onFetchAllSecurities();
if (this.props.selectedAccount != -1) {
this.props.onFetchTransactionPage(this.props.accounts[this.props.selectedAccount], this.props.pageSize, this.props.transactionPage.page);
}

View File

@ -721,6 +721,7 @@ class AccountsTab extends React.Component {
transactionPage={this.props.transactionPage}
imports={this.props.imports}
onFetchAllAccounts={this.props.onFetchAllAccounts}
onFetchAllSecurities={this.props.onFetchAllSecurities}
onCreateTransaction={this.props.onCreateTransaction}
onUpdateTransaction={this.props.onUpdateTransaction}
onDeleteTransaction={this.props.onDeleteTransaction}