diff --git a/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts b/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts index e0ff482fc6..103aad6da2 100644 --- a/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts +++ b/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts @@ -14,18 +14,16 @@ import { InternalStore } from '../utils/internal-store-utils'; providedIn: 'root', }) export class ConfigStateService { + private updateSubject = new Subject(); private readonly store = new InternalStore({} as ApplicationConfigurationDto); - - setState(config: ApplicationConfigurationDto){ - this.store.set(config) + + setState(config: ApplicationConfigurationDto) { + this.store.set(config); } get createOnUpdateStream() { return this.store.sliceUpdate; } - - private updateSubject = new Subject(); - constructor( private abpConfigService: AbpApplicationConfigurationService, private abpApplicationLocalizationService: AbpApplicationLocalizationService, @@ -228,4 +226,4 @@ function splitKeys(keys: string[] | string): string[] { } return keys; -} \ No newline at end of file +}