From 1a739383c677b410edbb71e8859852a23a1d6c05 Mon Sep 17 00:00:00 2001 From: Kewde Date: Sun, 21 Jan 2018 13:49:09 +0100 Subject: [PATCH] fix destroy & lint --- .../overview/widgets/stakinginfo/stakinginfo.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/wallet/overview/widgets/stakinginfo/stakinginfo.component.ts b/src/app/wallet/overview/widgets/stakinginfo/stakinginfo.component.ts index 4f413fdc3..88796da77 100644 --- a/src/app/wallet/overview/widgets/stakinginfo/stakinginfo.component.ts +++ b/src/app/wallet/overview/widgets/stakinginfo/stakinginfo.component.ts @@ -53,7 +53,7 @@ export class StakinginfoComponent implements OnDestroy { this.calculateDynamicStakingReward(); }, error => this.log.er('Constructor, weight error:' + error), - () => this.log.d("state observe weight completed!")); + () => this.log.d('state observe weight completed!')); this.state.observe('netstakeweight') .takeWhile(() => !this.destroyed) @@ -93,7 +93,7 @@ export class StakinginfoComponent implements OnDestroy { } ngOnDestroy() { - // this.destroyed = true; + this.destroyed = true; } }