Browse Source

Merge branch 'abpframework:dev' into dev

pull/16255/head
Masood Khoshgard 4 years ago
committed by GitHub
parent
commit
092066ddc8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      npm/ng-packs/packages/core/src/lib/services/config-state.service.ts

6
npm/ng-packs/packages/core/src/lib/services/config-state.service.ts

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