Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 492168a

Browse files
committed
fix eventsPerWeek got multiplied
1 parent 630d951 commit 492168a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • admin-ui/src/component/applications

admin-ui/src/component/applications/util.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ export const appEventHours = (
9696
): number => {
9797
const turns = numTurns(startDate, endDate, biWeekly, eventsPerWeek);
9898

99-
const hours =
100-
(turns * eventsPerWeek * apiDurationToMinutes(minDuration)) / 60;
99+
const hours = (turns * apiDurationToMinutes(minDuration)) / 60;
101100
return hours;
102101
};
103102

0 commit comments

Comments
 (0)