mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-18 13:44:12 +00:00
refactor: upgrade base-ui
This commit is contained in:
committed by
Carlos Valente
parent
24a3823d3b
commit
d06b5af538
@@ -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