Refactor slot editing to use searchable selections
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:
parent
da65103e05
commit
b0d5cdf791
4 changed files with 125 additions and 215 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue