Skip to content

Commit

Permalink
Merge pull request #10349 from abpframework/auto-merge/rel-4-4/585
Browse files Browse the repository at this point in the history
Merge branch rel-5.0 with rel-4.4
  • Loading branch information
mehmet-erim committed Oct 18, 2021
2 parents 38ac656 + 8adcc88 commit cc30610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/UI/Angular/Config-State-Service.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ You can use the `getFeature` or `getFeature$` method of `ConfigStateService` to
```js
// this.config is instance of ConfigStateService

const enableLdapLogin = this.configStateService.getFeature("Account.EnableLdapLogin");
const enableLdapLogin = this.config.getFeature("Account.EnableLdapLogin");

// or
this.config.getFeature$("Account.EnableLdapLogin").subscribe(enableLdapLogin => {
Expand All @@ -98,7 +98,7 @@ You can use the `getSetting` or `getSetting$` method of `ConfigStateService` to
```js
// this.config is instance of ConfigStateService

const twoFactorBehaviour = this.configStateService.getSetting("Abp.Identity.TwoFactor.Behaviour");
const twoFactorBehaviour = this.config.getSetting("Abp.Identity.TwoFactor.Behaviour");

// or
this.config.getSetting$("Abp.Identity.TwoFactor.Behaviour").subscribe(twoFactorBehaviour => {
Expand Down

0 comments on commit cc30610

Please sign in to comment.