Skip to content
Snippets Groups Projects
Commit 587c52c9 authored by pnogal's avatar pnogal
Browse files

Fix misspelled AddSavedForLaterReqeust

parent 5cf6f5ed
No related branches found
No related tags found
No related merge requests found
Pipeline #32515 passed
......@@ -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 }) {}
}
......
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment