Fix to show correct experimental-dual-fund configuration from listconfig

This commit is contained in:
ShahanaFarooqui 2025-01-09 16:22:24 -08:00
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

File diff suppressed because one or more lines are too long

View file

@ -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;