mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 19:03:47 +00:00
refactor: upgrade base-ui
This commit is contained in:
committed by
Carlos Valente
parent
24a3823d3b
commit
d06b5af538
@@ -73,7 +73,6 @@ function SecondarySourceControl() {
|
||||
<>
|
||||
<Select
|
||||
value={value}
|
||||
placeholder='Secondary source'
|
||||
options={[
|
||||
{ value: 'aux1', label: 'Aux 1' },
|
||||
{ value: 'aux2', label: 'Aux 2' },
|
||||
|
||||
@@ -70,14 +70,12 @@ function EventTriggerForm({ eventId, triggers }: EventTriggerFormProps) {
|
||||
<div className={style.triggerForm}>
|
||||
<Select
|
||||
value={cycleValue}
|
||||
placeholder='Choose a trigger'
|
||||
onChange={(value) => setCycleValue(value)}
|
||||
options={eventTriggerOptions.map((cycle) => ({ value: cycle, label: cycle }))}
|
||||
/>
|
||||
|
||||
<Select
|
||||
value={automationId}
|
||||
placeholder='Choose an automation'
|
||||
onChange={(value) => setAutomationId(value)}
|
||||
options={Object.values(automationSettings.automations).map(({ id, title }) => ({ value: id, label: title }))}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user