fixy
This commit is contained in:
@@ -66,15 +66,20 @@
|
||||
<!-- Display row number or empty if not active -->
|
||||
{{ getRegistrationIndex(index) }}
|
||||
</td>
|
||||
<td>{{ formatDateShort(registration.dateTime) || '' }}</td>
|
||||
<td>
|
||||
{{ registration.playerName }}
|
||||
<span :class="{ strikethrough: registration.active === false }">{{ registration.dateTime }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span :class="{ strikethrough: registration.active === false }">{{ registration.playerName }}</span>
|
||||
<b-button
|
||||
@click="prepareRemove(registration)"
|
||||
variant="danger"
|
||||
class="btn btn-sm"
|
||||
data-cy="entityDeleteButton"
|
||||
v-if="(registration.id && registration.user?.id == currentUserId && isCurrentEvent) || hasAnyAuthority('ROLE_ADMIN')"
|
||||
v-if="
|
||||
((registration.id && registration.user?.id == currentUserId && isCurrentEvent) || hasAnyAuthority('ROLE_ADMIN')) &&
|
||||
registration.active !== false
|
||||
"
|
||||
v-b-modal.removeEntity
|
||||
>
|
||||
<font-awesome-icon icon="times"></font-awesome-icon>
|
||||
|
||||
Reference in New Issue
Block a user