mirror of
https://github.com/mempool/mempool.git
synced 2025-02-25 07:07:36 +01:00
Bisq markets: Fix for graph not updating when changing window
refs #510
This commit is contained in:
parent
482a891cec
commit
89300dae98
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ export class LightweightChartsAreaComponent implements OnInit, OnChanges, OnDest
|
|||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
if (!changes.value || changes.value.isFirstChange()){
|
||||
if (!changes.data || changes.data.isFirstChange()){
|
||||
return;
|
||||
}
|
||||
this.updateData();
|
||||
|
|
|
@ -60,7 +60,7 @@ export class LightweightChartsComponent implements OnInit, OnChanges, OnDestroy
|
|||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
if (!changes.value || changes.value.isFirstChange()){
|
||||
if (!changes.data || changes.data.isFirstChange()){
|
||||
return;
|
||||
}
|
||||
this.updateData();
|
||||
|
|
Loading…
Add table
Reference in a new issue