mirror of
https://github.com/zoriya/flood.git
synced 2026-05-27 00:56:49 +00:00
Change loading logic
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user