Skip to content

Fix Judge Selector not Loading in PROD#455

Merged
ronaldo-macapobre merged 1 commit intomasterfrom
judge-selector
Aug 27, 2025
Merged

Fix Judge Selector not Loading in PROD#455
ronaldo-macapobre merged 1 commit intomasterfrom
judge-selector

Conversation

@ronaldo-macapobre
Copy link
Contributor

When JudgeSelector is mounted, an API called is triggered to get the list of judges. Upon investigation, the JudgeSelector component is mounting twice due to its placement inside v-tabs. Since v-tabs wraps its slot content in a v-slide-group, non v-tab children gets duplicated. Thus, duplicate API calls.

The fix is to move the loading of judges on the parent component (App.vue) to ensure data is only retrieved once.

Screen Grab

Judge-Selector.mp4

@ronaldo-macapobre ronaldo-macapobre self-assigned this Aug 26, 2025
@ronaldo-macapobre ronaldo-macapobre added the bug Something isn't working label Aug 26, 2025
@sonarqubecloud
Copy link

@ronaldo-macapobre ronaldo-macapobre merged commit b4b697e into master Aug 27, 2025
8 checks passed
@ronaldo-macapobre ronaldo-macapobre deleted the judge-selector branch August 27, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants