Action for leaving a project says `Leave group`
Summary
Introduced in !107398 (merged)
When leaving a project the dropdown action says Leave group
.
Steps to reproduce
- Go to a project you are a direct member of
- Click the dropdown next to your name
What is the current bug behavior?
Dropdown action says Leave group
What is the expected correct behavior?
Dropdown action should say Leave project
or just Leave
Relevant logs and/or screenshots
Implementation Guide
Possible fixes:
- Change name of
app/assets/javascripts/members/components/action_dropdowns/leave_group_dropdown_item.vue
toleave_dropdown_item.vue
- In members/components/action_dropdowns/user_action_dropdown.vue#L81 check the model type. Use
Leave group
for a group member andLeave project
for a project member.
Edited by Christina Lohr