Skip to content

Expose `is_last_member` to members view

Peter Hegman requested to merge expose-is-last-member-to-members-view into master

What does this MR do and why?

For #24047 (closed). Currently if a member is the last owner the remove button is not shown. This can be confusing so we want to add a message in the modal explaining why the member can not be removed. To do this we need to be able to identify on the frontend which member is the last owner. This MR exposes a is_last_member property to the frontend.

From Vue dev tools

Screenshot_2022-12-05_at_9.50.17_AM

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading