Finished patch support

This commit is contained in:
lotte
2018-09-19 15:32:14 +02:00
parent e959542e2d
commit c6f55e424b
14 changed files with 61 additions and 58 deletions

View File

@@ -7,10 +7,10 @@ import {
RemoveFromObjectCacheAction
} from '../cache/object-cache.actions';
import { RequestActionTypes, RequestConfigureAction } from '../data/request.actions';
import { RestRequestMethod } from '../data/request.models';
import { AddToIndexAction, RemoveFromIndexByValueAction } from './index.actions';
import { hasValue } from '../../shared/empty.util';
import { IndexName } from './index.reducer';
import { RestRequestMethod } from '../data//rest-request-method';
@Injectable()
export class UUIDIndexEffects {
@@ -42,7 +42,7 @@ export class UUIDIndexEffects {
@Effect() addRequest$ = this.actions$
.pipe(
ofType(RequestActionTypes.CONFIGURE),
filter((action: RequestConfigureAction) => action.payload.method === RestRequestMethod.Get),
filter((action: RequestConfigureAction) => action.payload.method === RestRequestMethod.GET),
map((action: RequestConfigureAction) => {
return new AddToIndexAction(
IndexName.REQUEST,