1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-06-14 13:58:37 -04:00

AccountRegister: Don't try to access null account

This commit is contained in:
2016-02-13 09:38:08 -05:00
parent 2621f64cc7
commit 2a8c79cc14

View File

@ -792,6 +792,7 @@ module.exports = React.createClass({
transactions: [], transactions: [],
currentPage: 0 currentPage: 0
}); });
if (nextProps.selectedAccount != null)
this.getTransactionPage(nextProps.selectedAccount, 0); this.getTransactionPage(nextProps.selectedAccount, 0);
} }
}, },