mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
remove commented
This commit is contained in:
parent
b3807f88d8
commit
21f5a21cae
@ -175,20 +175,7 @@ class SyncIndicator extends connect(store)(LitElement) {
|
||||
} else if(state.app.nodeStatus && state.app.nodeStatus.syncPercent === 100 && state.app.nodeStatus.syncPercent !== this.syncPercentage){
|
||||
this.syncPercentage = state.app.nodeStatus.syncPercent;
|
||||
this.isSynchronizing = false;
|
||||
// if (
|
||||
// this.isBehind === null
|
||||
// ) {
|
||||
// this.isBehind = false;
|
||||
// this.blocksBehind = 0;
|
||||
// if (!this.seenWelcomeSync) {
|
||||
// this.dispatchEvent(
|
||||
// new CustomEvent('open-welcome-modal-sync', {
|
||||
// bubbles: true,
|
||||
// composed: true,
|
||||
// })
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
|
||||
} else if (
|
||||
state.app.nodeStatus
|
||||
) {
|
||||
@ -199,24 +186,7 @@ class SyncIndicator extends connect(store)(LitElement) {
|
||||
if (state.app.nodeStatus.syncPercent !== 100) {
|
||||
this.isSynchronizing = true;
|
||||
}
|
||||
// else {
|
||||
// this.isSynchronizing = false;
|
||||
// }
|
||||
// if (
|
||||
// this.isBehind === null &&
|
||||
// state.app.nodeStatus.syncPercent === 100
|
||||
// ) {
|
||||
// this.isBehind = false;
|
||||
// this.blocksBehind = 0;
|
||||
// if (!this.seenWelcomeSync) {
|
||||
// this.dispatchEvent(
|
||||
// new CustomEvent('open-welcome-modal-sync', {
|
||||
// bubbles: true,
|
||||
// composed: true,
|
||||
// })
|
||||
// );
|
||||
// }
|
||||
// } else
|
||||
|
||||
if (
|
||||
!this.interval &&
|
||||
this.isBehind === null &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user