mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Finished patch support
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user