FIX: the correct action for group-member-dropdown is now actOnGroup (#9320)

FIX: the correct action for group-member-dropdown is now actOnGroup (#9320)

diff --git a/app/assets/javascripts/discourse/templates/group-index.hbs b/app/assets/javascripts/discourse/templates/group-index.hbs
index 01393c0..36d9acf 100644
--- a/app/assets/javascripts/discourse/templates/group-index.hbs
+++ b/app/assets/javascripts/discourse/templates/group-index.hbs
@@ -63,11 +63,7 @@
             <td>
               {{#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 84a906d..e95a8cb 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}}
         </div>

GitHub sha: acc0a967

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there:

This commit appears in #9320 which was merged by jjaffeux.