mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-12-25 23:23:21 -05:00
AccountRegister: Don't try to access null account
This commit is contained in:
parent
2621f64cc7
commit
2a8c79cc14
@ -792,7 +792,8 @@ module.exports = React.createClass({
|
||||
transactions: [],
|
||||
currentPage: 0
|
||||
});
|
||||
this.getTransactionPage(nextProps.selectedAccount, 0);
|
||||
if (nextProps.selectedAccount != null)
|
||||
this.getTransactionPage(nextProps.selectedAccount, 0);
|
||||
}
|
||||
},
|
||||
render: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user