mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
Fix to show correct experimental-dual-fund configuration from listconfig
This commit is contained in:
parent
562e924997
commit
9363514968
4 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
frontend/main.4c9a64ff53139049.js
Normal file
1
frontend/main.4c9a64ff53139049.js
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -47,7 +47,7 @@ export class ExperimentalSettingsComponent implements OnInit, OnDestroy {
|
|||
this.dataService.listConfigs().pipe(takeUntil(this.unSubs[0])).subscribe({
|
||||
next: (res: any) => {
|
||||
this.logger.info('Received List Configs: ' + JSON.stringify(res));
|
||||
this.features[1].enabled = !!res['experimental-dual-fund'];
|
||||
this.features[1].enabled = !!res['configs']['experimental-dual-fund']['set'];
|
||||
}, error: (err) => {
|
||||
this.logger.error('List Configs Error: ' + JSON.stringify(err));
|
||||
this.features[1].enabled = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue