Skip to content

Conversation

@tomrndom
Copy link

ref: https://app.clickup.com/t/86b7tm871

Signed-off-by: Tomás Castillo [email protected]

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the sponsor badge settings would fail when selected columns are not available in the current context. The fix ensures that unavailable options are filtered out to prevent rendering errors.

  • Added null check in ChipSelectInput to handle missing options gracefully
  • Filtered selected badge scan settings to only count available columns

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/components/mui/chip-select-input.js Added null check to prevent rendering chips for unavailable options and improved variable naming consistency
src/components/forms/sponsor-general-form/badge-scan-settings.js Filters selected columns to only count those that are available, preventing errors when settings reference unavailable columns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@smarcet smarcet merged commit 221a9a7 into master Dec 11, 2025
14 checks passed
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.

3 participants