Browse Source

refactor: make setState variable of the config-satete.service method

pull/6343/head
mehmet-erim 6 years ago
parent
commit
77fa1afc49
  1. 4
      npm/ng-packs/packages/core/src/lib/services/config-state.service.ts

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

@ -14,9 +14,9 @@ export class ConfigStateService {
return this.store.sliceUpdate;
}
setState = (state: ApplicationConfiguration.Response) => {
setState(state: ApplicationConfiguration.Response) {
this.store.set(state);
};
}
getOne$(key: string) {
return this.store.sliceState(state => state[key]);

Loading…
Cancel
Save