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

This commit is contained in:
Joffrey JAFFEUX 2020-03-31 09:21:59 +02:00 committed by GitHub
parent 4f6d722e45
commit acc0a9673e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View File

@ -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}}

View File

@ -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>