Browse Source
Merge pull request #13381 from abpframework/rel-5.2
Merge 5.2 to 6.0
pull/13383/head
Halil İbrahim Kalkan
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); |
|
|
|
}) |
|
|
|
} |
|
|
|
|