Merge pull request #12786 from vnetonline/patch-5

Update Config-State-Service.md
pull/13381/head
Muhammed Altuğ 3 years ago committed by GitHub
commit ce13a13d7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -122,8 +122,8 @@ You can get the application configuration response and set the `ConfigStateServi
```js
import {ApplicationConfigurationService, ConfigStateService} from '@abp/ng.core';
constructor(private applicationConfigurationService: ApplicationConfigurationService, private config: ConfigStateService) {
this.applicationConfigurationService.getConfiguration().subscribe(config => {
constructor(private abpApplicationConfigurationService: AbpApplicationConfigurationService, private config: ConfigStateService) {
this.abpApplicationConfigurationService.get().subscribe(config => {
this.config.setState(config);
})
}

Loading…
Cancel
Save