mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Merge branch 'coar-notify-7' into coar-notify-7-part-two
This commit is contained in:
@@ -152,4 +152,5 @@ export type SuggestionTargetsActions
|
||||
| ClearSuggestionTargetsAction
|
||||
| MarkUserSuggestionsAsVisitedAction
|
||||
| RetrieveTargetsBySourceAction
|
||||
| RetrieveAllTargetsErrorAction;
|
||||
| RetrieveAllTargetsErrorAction
|
||||
| RefreshUserSuggestionsAction;
|
||||
|
@@ -62,7 +62,7 @@ export class SuggestionTargetsEffects {
|
||||
/**
|
||||
* Fetch the current user suggestion
|
||||
*/
|
||||
RefreshUserSuggestionsAction = createEffect(() => this.actions$.pipe(
|
||||
refreshUserSuggestionsAction$ = createEffect(() => this.actions$.pipe(
|
||||
ofType(SuggestionTargetActionTypes.REFRESH_USER_SUGGESTIONS),
|
||||
switchMap((action: RefreshUserSuggestionsAction) => {
|
||||
return this.store$.select((state: any) => state.core.auth.userId)
|
||||
@@ -76,7 +76,7 @@ export class SuggestionTargetsEffects {
|
||||
}),
|
||||
catchError((errors) => of(errors))
|
||||
);
|
||||
})));
|
||||
})), { dispatch: false });
|
||||
|
||||
/**
|
||||
* Initialize the effect class variables.
|
||||
|
Reference in New Issue
Block a user