diff --git a/@overflow/noauth-probe/container/list/list-container.component.ts b/@overflow/noauth-probe/container/list/list-container.component.ts index c98c760..a840f61 100644 --- a/@overflow/noauth-probe/container/list/list-container.component.ts +++ b/@overflow/noauth-probe/container/list/list-container.component.ts @@ -6,7 +6,7 @@ import 'rxjs/add/operator/map'; import { AuthSelector } from '@overflow/member/store'; import { Domain } from '@overflow/commons-typescript/model/domain'; import * as ListStore from '../../store/entity/noauth-probe'; -import { NoAuthProbeSelector } from '../../store'; +import { NoAuthProbeEntitySelector } from '../../store'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth'; import { ConfirmationService } from 'primeng/primeng'; import { MessageService } from 'primeng/components/common/messageservice'; @@ -22,7 +22,7 @@ export class NoAuthProbeListContainerComponent implements OnInit { constructor( private store: Store, ) { - this.noauthProbes$ = this.store.pipe(select(NoAuthProbeSelector.selectAll)).map((_noauthProbes: NoAuthProbe[]) => { + this.noauthProbes$ = this.store.pipe(select(NoAuthProbeEntitySelector.selectAll)).map((_noauthProbes: NoAuthProbe[]) => { if (null === _noauthProbes) { return null; } diff --git a/@overflow/noauth-probe/store/index.ts b/@overflow/noauth-probe/store/index.ts index c88ae07..79b66f1 100644 --- a/@overflow/noauth-probe/store/index.ts +++ b/@overflow/noauth-probe/store/index.ts @@ -7,23 +7,23 @@ import { StateSelector } from '@overflow/core/ngrx/store'; import { MODULE } from '../noauth-probe.constant'; -import * as NoAuthProbeStore from './entity/noauth-probe'; +import * as NoAuthProbeEntityStore from './entity/noauth-probe'; export interface State { - noAuthProbe: NoAuthProbeStore.State; + noAuthProbe: NoAuthProbeEntityStore.State; } export const REDUCERS = { - noAuthProbe: NoAuthProbeStore.reducer, + noAuthProbe: NoAuthProbeEntityStore.reducer, }; export const EFFECTS = [ - NoAuthProbeStore.Effects, + NoAuthProbeEntityStore.Effects, ]; export const selectState = createFeatureSelector(MODULE.name); -export const NoAuthProbeSelector = NoAuthProbeStore.getSelectors(createSelector( +export const NoAuthProbeEntitySelector = NoAuthProbeEntityStore.getSelectors(createSelector( selectState, (state: State) => state.noAuthProbe ));