DEV: Remove group-members-dropdown (#11948)

It was introduced in c82b2dcc24, but since b76731d722 and 58ee947b35 it'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:
Jarek Radosz
2021-02-03 17:42:12 +01:00
committed by GitHub
parent 39a9651847
commit 155ae06f62
2 changed files with 6 additions and 43 deletions
@@ -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>