File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/app/modules/activities-management/store Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
1010 LoadActivitiesFail ,
1111 DeleteActivitySuccess ,
1212} from './activity-management.actions' ;
13+ import * as actions from './activity-management.actions' ;
1314import { Activity } from './../../shared/models/activity.model' ;
1415import { ActivityService } from './../services/activity.service' ;
1516
@@ -35,7 +36,7 @@ export class ActivityEffects {
3536 @Effect ( )
3637 deleteActivity$ : Observable < Action > = this . actions$ . pipe (
3738 ofType ( ActivityManagementActionTypes . DELETE_ACTIVITY ) ,
38- map ( ( action ) => action [ this . parameterFieldName ] ) ,
39+ map ( ( action : actions . DeleteActivity ) => action . activityId ) ,
3940 mergeMap ( ( activityId ) =>
4041 this . activityService . deleteActivity ( activityId ) . pipe (
4142 map ( ( ) => {
You can’t perform that action at this time.
0 commit comments