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> <td>
{{#if canManageGroup}} {{#if canManageGroup}}
{{group-member-dropdown {{group-member-dropdown
removeMember=(action "removeMember")
makeOwner=(action "makeOwner")
removeOwner=(action "removeOwner")
member=m member=m
group=model
onChange=(action "actOnGroup" m) onChange=(action "actOnGroup" m)
}} }}
{{/if}} {{/if}}

View File

@ -41,10 +41,9 @@
{{#if canManageGroup}} {{#if canManageGroup}}
{{group-member-dropdown {{group-member-dropdown
removeMember=(action "removeMember") member=user
makeOwner=(action "makeOwner") onChange=(action "actOnGroup" user)
removeOwner=(action "removeOwner") }}
member=user}}
{{/if}} {{/if}}
{{/user-info}} {{/user-info}}
</div> </div>