You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(members): Allow searched members to leave orgs (#88086)
The search bar on the members list will filter the list down, and the
check for other owners only has access to that filtered list, meaning it
doesn't find another owner and thus disables the `Leave` button
incorrectly.
Instead, we'll fetch the owners separately (excluding invites), and if
any of those results aren't the current user, we should allow them to
leave.
**Before**
<img width="861" alt="image"
src="https://github.com/user-attachments/assets/edf17aac-4251-4e01-8e19-fa2015862cd1"
/>
**After**
<img width="852" alt="Screenshot 2025-03-27 at 11 08 00 AM"
src="https://github.com/user-attachments/assets/055a5384-39b0-4113-bc05-dc0fb04c78fa"
/>
0 commit comments