-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: allow deletion of team members #6343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/hi2h2x97s |
Codecov Report
@@ Coverage Diff @@
## development #6343 +/- ##
===============================================
- Coverage 22.90% 22.66% -0.24%
===============================================
Files 524 520 -4
Lines 5786 5753 -33
Branches 113 113
===============================================
- Hits 1325 1304 -21
+ Misses 4434 4422 -12
Partials 27 27
Continue to review full report at Codecov.
|
| </div> | ||
| {{/each}} | ||
| {{/if}} | ||
| {{#if (eq this.roleType 'accepted')}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this check?
| <tr> | ||
| <td>{{eventRole.user.email}}</td> | ||
| <td>{{eventRole.role.titleName}}</td> | ||
| {{#if (and @editable (not-eq eventRole.role.titleName 'Owner'))}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check name, not title name
| {{#if (eq this.roleType 'pending')}} | ||
| {{#each this.roleInvites as |roleInvite|}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation
| {{else}} | ||
| {{#each this.data.usersEventsRoles as |eventRole|}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation

Fixes #5881
Checklist
developmentbranch.