Skip to content

🐞 Admin portal: stop click propagation missing when removing a candidate image#2678

Open
yuvalkom-M wants to merge 1 commit into
mainfrom
fix/meta-11569/main
Open

🐞 Admin portal: stop click propagation missing when removing a candidate image#2678
yuvalkom-M wants to merge 1 commit into
mainfrom
fix/meta-11569/main

Conversation

@yuvalkom-M
Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings May 18, 2026 08:14
Copy link
Copy Markdown
Contributor

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 the candidate image delete action in the admin portal so clicking the trash button does not toggle the surrounding image accordion.

Changes:

  • Stops click propagation from the image delete button.
  • Awaits the candidate update when removing the image and uses isPending to drive the loading/disabled state.
  • Simplifies the delete button spinner/icon rendering.

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

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.

2 participants