Browse Source

fix core lint error

pull/16379/head
Barış Can Yılmaz 3 years ago
parent
commit
2f217d1eac
  1. 12
      npm/ng-packs/packages/core/src/lib/services/config-state.service.ts

12
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', providedIn: 'root',
}) })
export class ConfigStateService { export class ConfigStateService {
private updateSubject = new Subject<void>();
private readonly store = new InternalStore({} as ApplicationConfigurationDto); private readonly store = new InternalStore({} as ApplicationConfigurationDto);
setState(config: ApplicationConfigurationDto){ setState(config: ApplicationConfigurationDto) {
this.store.set(config) this.store.set(config);
} }
get createOnUpdateStream() { get createOnUpdateStream() {
return this.store.sliceUpdate; return this.store.sliceUpdate;
} }
private updateSubject = new Subject<void>();
constructor( constructor(
private abpConfigService: AbpApplicationConfigurationService, private abpConfigService: AbpApplicationConfigurationService,
private abpApplicationLocalizationService: AbpApplicationLocalizationService, private abpApplicationLocalizationService: AbpApplicationLocalizationService,
@ -228,4 +226,4 @@ function splitKeys(keys: string[] | string): string[] {
} }
return keys; return keys;
} }

Loading…
Cancel
Save