Skip to content

Commit 2a2822f

Browse files
committed
fix(actions): fix event is not defined error
1 parent 0a8bb10 commit 2a2822f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular-calendar/src/modules/common/calendar-event-actions.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ export class CalendarEventActionsComponent {
3737
@Input() customTemplate: TemplateRef<any>;
3838

3939
trackByActionId = (index: number, action: EventAction) =>
40-
action.id ? action.id : event;
40+
action.id ? action.id : action;
4141
}

0 commit comments

Comments
 (0)