Handling of event addons
This commit is contained in:
@@ -20,6 +20,11 @@ const props = defineProps({
|
||||
listType: '',
|
||||
}),
|
||||
},
|
||||
// Steuert, ob je Gruppe der „E-Mail an Gruppe senden"-Button angezeigt wird.
|
||||
showGroupMail: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
});
|
||||
|
||||
const today = format(new Date(), "yyyy-MM-dd");
|
||||
@@ -404,7 +409,8 @@ function mailToGroup(groupKey) {
|
||||
27 Jahre und älter: <strong>{{ getAgeCounts(participants)['27+'] ?? 0 }}</strong>
|
||||
</td>
|
||||
<td class="pl-summary-action">
|
||||
<input type="button" class="button" @click="mailToGroup(groupKey)" value="E-Mail an Gruppe senden" />
|
||||
<input v-if="showGroupMail" type="button" class="button" @click="mailToGroup(groupKey)"
|
||||
value="E-Mail an Gruppe senden"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user