Merge pull request #16256 from vcozcan/config-state-service

Set state function is created within config state service
pull/16255/head
Mahmut Gundogdu 3 years ago committed by GitHub
commit c44d4dbe93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,6 +15,10 @@ import { InternalStore } from '../utils/internal-store-utils';
})
export class ConfigStateService {
private readonly store = new InternalStore({} as ApplicationConfigurationDto);
setState(config: ApplicationConfigurationDto){
this.store.set(config)
}
get createOnUpdateStream() {
return this.store.sliceUpdate;
@ -224,4 +228,4 @@ function splitKeys(keys: string[] | string): string[] {
}
return keys;
}
}
Loading…
Cancel
Save