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:
@ -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);
|
||||
}
|
||||
|
@ -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}
|
||||
|
Reference in New Issue
Block a user