Skip to content

fix: correct rroundResults typo in RoundInfo.vue#430

Open
MuraariK13052008 wants to merge 1 commit intohatnote:masterfrom
MuraariK13052008:fix/bug-01-round-info-typo
Open

fix: correct rroundResults typo in RoundInfo.vue#430
MuraariK13052008 wants to merge 1 commit intohatnote:masterfrom
MuraariK13052008:fix/bug-01-round-info-typo

Conversation

@MuraariK13052008
Copy link
Copy Markdown

What this fixes

The "Cancelled Tasks" stat in the Round Info panel always rendered blank for every round.

Root cause

Line 70 of RoundInfo.vue references rroundResults?.counts.total_cancelled_tasks but the declared ref in this component is roundResults (single r). JavaScript resolves undefined?.anything silently to undefined rather than throwing an error, so the bug never surfaced as a console error — it just always showed blank.

Fix

Renamed rroundResultsroundResults on line 70.

Files changed

  • frontend/src/components/Round/RoundInfo.vue

How to verify

  1. Open any campaign round that has at least one cancelled task
  2. Navigate to the Round Info panel
  3. Confirm the "Cancelled Tasks" field now shows the correct number instead of blank

Relates to: T415578

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