Browse Source

Merge pull request #12786 from vnetonline/patch-5

Update Config-State-Service.md
pull/13382/head
Muhammed Altuğ 4 years ago
committed by GitHub
parent
commit
ce13a13d7e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/en/UI/Angular/Config-State-Service.md

4
docs/en/UI/Angular/Config-State-Service.md

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