splash screen downloading_headers flag tweak
This commit is contained in:
parent
ee90951945
commit
e5000f6502
1 changed files with 5 additions and 0 deletions
|
@ -97,6 +97,11 @@ class SplashScreen extends React.PureComponent {
|
|||
isDownloadingHeaders: blockchainHeaders.downloading_headers,
|
||||
headersDownloadProgress: blockchainHeaders.download_progress
|
||||
});
|
||||
} else {
|
||||
// set downloading flag to false if blockchain_headers isn't in the status response
|
||||
this.setState({
|
||||
isDownloadingHeaders: false,
|
||||
});
|
||||
}
|
||||
|
||||
if (blockchainHeaders && blockchainHeaders.downloading_headers) {
|
||||
|
|
Loading…
Reference in a new issue