Fix hashrate difficulty SSR state dependency
This commit is contained in:
parent
6464f6d8bb
commit
10e468d463
@ -326,7 +326,7 @@ export class HashrateChartComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
selected: JSON.parse(this.storageService.getValue('hashrate_difficulty_legend')) ?? {
|
selected: JSON.parse(this.storageService?.getValue('hashrate_difficulty_legend') || 'null') ?? {
|
||||||
'$localize`:@@79a9dc5b1caca3cbeb1733a19515edacc5fc7920:Hashrate`': true,
|
'$localize`:@@79a9dc5b1caca3cbeb1733a19515edacc5fc7920:Hashrate`': true,
|
||||||
'$localize`::Difficulty`': this.network === '',
|
'$localize`::Difficulty`': this.network === '',
|
||||||
'$localize`Hashrate (MA)`': true,
|
'$localize`Hashrate (MA)`': true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user