mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 01:22:36 +08:00
FIX: the correct action for group-member-dropdown is now actOnGroup (#9320)
This commit is contained in:
parent
4f6d722e45
commit
acc0a9673e
|
@ -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}}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user