diff --git a/app/assets/javascripts/discourse/templates/group-index.hbs b/app/assets/javascripts/discourse/templates/group-index.hbs index 01393c0dfa1..36d9acfe889 100644 --- a/app/assets/javascripts/discourse/templates/group-index.hbs +++ b/app/assets/javascripts/discourse/templates/group-index.hbs @@ -63,11 +63,7 @@ {{#if canManageGroup}} {{group-member-dropdown - removeMember=(action "removeMember") - makeOwner=(action "makeOwner") - removeOwner=(action "removeOwner") member=m - group=model onChange=(action "actOnGroup" m) }} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/mobile/group-index.hbs b/app/assets/javascripts/discourse/templates/mobile/group-index.hbs index 84a906d4c48..e95a8cb20f5 100644 --- a/app/assets/javascripts/discourse/templates/mobile/group-index.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/group-index.hbs @@ -41,10 +41,9 @@ {{#if canManageGroup}} {{group-member-dropdown - removeMember=(action "removeMember") - makeOwner=(action "makeOwner") - removeOwner=(action "removeOwner") - member=user}} + member=user + onChange=(action "actOnGroup" user) + }} {{/if}} {{/user-info}}