Add editing and display of event host

Display and allow editing of the host field of events.
This commit is contained in:
Hornwitser 2025-07-16 19:07:36 +02:00
parent 085e348aa8
commit 848a330f3a
3 changed files with 18 additions and 0 deletions

View file

@ -9,6 +9,7 @@
<tr>
<th>id</th>
<th>name</th>
<th>host</th>
<th>description</th>
<th>p</th>
<th>s</th>
@ -30,6 +31,13 @@
v-model="event.name"
>
</td>
<td>
<input
type="text"
:disabled="!canEdit(event)"
v-model="event.host"
>
</td>
<td>
<input
type="text"
@ -101,6 +109,7 @@
>
<td>{{ event.id }}</td>
<td>{{ event.name }}</td>
<td>{{ event.host }}</td>
<td>{{ event.description }}</td>
<td>{{ event.crew ? "" : "Yes"}}</td>
<td>{{ event.slots.size ? event.slots.size : "" }}</td>