show mempool skeleton while not inSync

This commit is contained in:
Mononaut
2023-07-24 16:22:35 +09:00
parent de4265a6d1
commit a6edfcc272
3 changed files with 14 additions and 1 deletions

View File

@@ -368,6 +368,11 @@ export class WebsocketService {
if (response.loadingIndicators) {
this.stateService.loadingIndicators$.next(response.loadingIndicators);
if (response.loadingIndicators.mempool != null && response.loadingIndicators.mempool < 100) {
this.stateService.isLoadingMempool$.next(true);
} else {
this.stateService.isLoadingMempool$.next(false);
}
}
if (response.mempoolInfo) {