Skip to content

Commit

Permalink
fix: 🐛 add missing tournamentId to MODIFY_TOURNAMENT_DETAIL notice
Browse files Browse the repository at this point in the history
  • Loading branch information
CourtHive committed Mar 30, 2024
1 parent 331d4cf commit 28d3eba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mutate/timeItems/addTimeItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ export function addTournamentTimeItem(params) {
if (result.error) return result;

const timeItemValues = getTimeItemValues({ element: tournamentRecord });
addNotice({ topic: MODIFY_TOURNAMENT_DETAIL, payload: { timeItemValues } });
addNotice({
payload: { timeItemValues, tournamentId: tournamentRecord.tournamentId },
topic: MODIFY_TOURNAMENT_DETAIL,
});

return result;
}
Expand Down

0 comments on commit 28d3eba

Please sign in to comment.