mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Fix sidebar showing finalized tournament as LIVE
This commit is contained in:
parent
3fc71191d7
commit
74d7e4b05d
|
|
@ -133,6 +133,9 @@ export const action = async ({ request, params }: ActionFunctionArgs) => {
|
|||
|
||||
clearTournamentDataCache(tournamentId);
|
||||
|
||||
// ensure RunningTournament = sidebar updates
|
||||
await tournamentFromDB({ tournamentId, user });
|
||||
|
||||
return successToastWithRedirect({
|
||||
url: tournamentBracketsPage({ tournamentId }),
|
||||
message: "Tournament finalized",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user