Skip to content

Commit

Permalink
Fix to show correct experimental-dual-fund configuration from listconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed Jan 10, 2025
1 parent 562e924 commit 9363514
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/index.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion frontend/main.405116be12738feb.js

This file was deleted.

1 change: 1 addition & 0 deletions frontend/main.4c9a64ff53139049.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9363514

Please sign in to comment.