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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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); |
|
|
|
}) |
|
|
|
} |
|
|
|
|