Skip to content

fix: refresh managed contests after edit - #167

Merged
HermanPlay merged 1 commit into
masterfrom
fix/contest-edit-refresh
Aug 11, 2026
Merged

HermanPlay merged 1 commit into
masterfrom
fix/contest-edit-refresh

Conversation

@HermanPlay

Copy link
Copy Markdown
Member

After editing a contest, the list did not refresh until a manual page reload. ContestsList/AdminContestCard never passed the edit dialog's onSuccess up to the page query.

Changes

  • ContestsList accepts onContestUpdated
  • teacher contests page passes () => contestsQuery.refresh()

Verification

  • pnpm run build succeeds

ContestsList/AdminContestCard dropped onSuccess; edit dialog success never
refreshed the contests query. Thread onContestUpdated through to the page
query refresh.
@HermanPlay
HermanPlay merged commit 22efb80 into master Aug 11, 2026
1 check passed
@HermanPlay
HermanPlay deleted the fix/contest-edit-refresh branch August 11, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant