Refactor slot editing to use searchable selections
All checks were successful
/ build (push) Successful in 1m36s
/ deploy (push) Successful in 16s

Instead of having to type in exactly the name of events or shifts and
then hope you remembered it right, replace these interactions with the
custom select component that gives a complete list of the available
choices and allows quickly searching for the right one.
This commit is contained in:
Hornwitser 2025-06-27 18:59:23 +02:00
parent da65103e05
commit b0d5cdf791
4 changed files with 125 additions and 215 deletions

View file

@ -37,9 +37,8 @@
<input
type="checkbox"
:disabled="!accountStore.canEditPublic"
:value="!event.crew"
:checked="!event.crew"
@change="event.crew = !($event.target as HTMLInputElement).value"
@change="event.crew = !event.crew"
>
</td>
<td>{{ event.slots.size ? event.slots.size : "" }}</td>