From 587c52c94a0ad8f55051be274bac8959998b7c59 Mon Sep 17 00:00:00 2001 From: pnogal <paulina.nogal@wisc.edu> Date: Mon, 11 Feb 2019 10:49:29 -0600 Subject: [PATCH] Fix misspelled AddSavedForLaterReqeust --- src/app/degree-planner/store/actions/plan.actions.ts | 8 ++++---- src/app/degree-planner/store/effects/plan.effects.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/degree-planner/store/actions/plan.actions.ts b/src/app/degree-planner/store/actions/plan.actions.ts index ff7afaf..d414b3d 100644 --- a/src/app/degree-planner/store/actions/plan.actions.ts +++ b/src/app/degree-planner/store/actions/plan.actions.ts @@ -19,10 +19,10 @@ export enum PlanActionTypes { ChangeCourseTermRequest = '[Plan] Change Course Term Request', ChangeCourseTermResponse = '[Plan] Change Course Term Response', - AddSavedForLaterReqeust = '[Plan] Add Saved For Later Request', + AddSavedForLaterRequest = '[Plan] Add Saved For Later Request', AddSavedForLaterResponse = '[Plan] Add Saved For Later Response', - RemoveSavedForLaterReqeust = '[Plan] Remove Saved For Later Request', + RemoveSavedForLaterRequest = '[Plan] Remove Saved For Later Request', RemoveSavedForLaterResponse = '[Plan] Remove Saved For Later Response', MoveFromSavedToTermRequest = '[Plan] Move Course From Saved to Term Request', @@ -82,7 +82,7 @@ export class RemoveCourseResponse implements Action { } export class AddSavedForLaterRequest implements Action { - public readonly type = PlanActionTypes.AddSavedForLaterReqeust; + public readonly type = PlanActionTypes.AddSavedForLaterRequest; constructor( public payload: { subjectCode: string; @@ -106,7 +106,7 @@ export class AddSavedForLaterResponse implements Action { } export class RemoveSavedForLaterRequest implements Action { - public readonly type = PlanActionTypes.RemoveSavedForLaterReqeust; + public readonly type = PlanActionTypes.RemoveSavedForLaterRequest; constructor(public payload: { subjectCode: string; courseId: string }) {} } diff --git a/src/app/degree-planner/store/effects/plan.effects.ts b/src/app/degree-planner/store/effects/plan.effects.ts index 100de1c..17f9e3f 100644 --- a/src/app/degree-planner/store/effects/plan.effects.ts +++ b/src/app/degree-planner/store/effects/plan.effects.ts @@ -205,7 +205,7 @@ export class DegreePlanEffects { @Effect() RemoveSavedForLater$ = this.actions$.pipe( - ofType<any>(PlanActionTypes.RemoveSavedForLaterReqeust), + ofType<any>(PlanActionTypes.RemoveSavedForLaterRequest), withLatestFrom(this.store$.select(getDegreePlannerState)), filter(([_, state]) => state.visibleDegreePlan !== undefined), @@ -241,7 +241,7 @@ export class DegreePlanEffects { @Effect() SaveForLater$ = this.actions$.pipe( - ofType<any>(PlanActionTypes.AddSavedForLaterReqeust), + ofType<any>(PlanActionTypes.AddSavedForLaterRequest), withLatestFrom(this.store$.select(getDegreePlannerState)), filter(([_, state]) => state.visibleDegreePlan !== undefined), -- GitLab