Change loading logic

This commit is contained in:
John Furrow
2016-01-30 20:25:55 -08:00
parent 86e8becde3
commit 9f64870685
2 changed files with 5 additions and 3 deletions
@@ -50,8 +50,10 @@ class ClientStats extends React.Component {
}
isLoading() {
return !this.state.transferHistoryRequestSuccess ||
!this.state.transferDataRequestSuccess;
if (!this.state.transferHistoryRequestSuccess ||
!this.state.transferDataRequestSuccess) {
return true;
}
}
onTransferDataRequestError() {