From 6105eff52b5b14ebff526e4e32763d66ebee8b38 Mon Sep 17 00:00:00 2001 From: mtyuio Date: Mon, 18 Oct 2021 12:01:23 +0800 Subject: [PATCH] Update Config-State-Service.md fix typo --- docs/en/UI/Angular/Config-State-Service.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/UI/Angular/Config-State-Service.md b/docs/en/UI/Angular/Config-State-Service.md index c810562623..3c1930d908 100644 --- a/docs/en/UI/Angular/Config-State-Service.md +++ b/docs/en/UI/Angular/Config-State-Service.md @@ -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 => { @@ -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 => {