From 28d3eba569fdc0f8bf2070bfeaac26f5eb3e13b4 Mon Sep 17 00:00:00 2001 From: courthive Date: Fri, 29 Mar 2024 20:02:46 -0400 Subject: [PATCH] fix: :bug: add missing tournamentId to MODIFY_TOURNAMENT_DETAIL notice --- src/mutate/timeItems/addTimeItem.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mutate/timeItems/addTimeItem.ts b/src/mutate/timeItems/addTimeItem.ts index 53015c8832..cc1fe83aa9 100644 --- a/src/mutate/timeItems/addTimeItem.ts +++ b/src/mutate/timeItems/addTimeItem.ts @@ -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; }