DEV: Remove group-members-dropdown (#11948)
It was introduced inc82b2dcc24, but sinceb76731d722and58ee947b35it's a single-option dropdown, so there's no need to show it (and keep it) instead of a button. We use a button for non-admins already.
This commit is contained in:
@@ -8,19 +8,12 @@
|
||||
|
||||
<div class="group-members-manage">
|
||||
{{#if canManageGroup}}
|
||||
{{#if currentUser.admin}}
|
||||
{{group-members-dropdown
|
||||
groupName=model.full_name
|
||||
showAddMembersModal=(route-action "showAddMembersModal")
|
||||
}}
|
||||
{{else}}
|
||||
{{d-button
|
||||
icon="plus"
|
||||
label="groups.manage.add_members"
|
||||
class="group-members-add"
|
||||
action=(route-action "showAddMembersModal")
|
||||
}}
|
||||
{{/if}}
|
||||
{{d-button
|
||||
icon="plus"
|
||||
label="groups.manage.add_members"
|
||||
class="group-members-add"
|
||||
action=(route-action "showAddMembersModal")
|
||||
}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user