mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-08 15:59:16 +00:00
fix: automation form validation
This commit is contained in:
committed by
Carlos Valente
parent
166160dda9
commit
701f24cece
@@ -27,6 +27,7 @@ export function isAutomation(automation: AutomationDTO | Automation): automation
|
||||
}
|
||||
|
||||
const staticSelectProperties = [
|
||||
{ value: null, label: 'Select field' },
|
||||
{ value: 'eventNow.id', label: 'ID' },
|
||||
{ value: 'eventNow.title', label: 'Title' },
|
||||
{ value: 'eventNow.cue', label: 'Cue' },
|
||||
@@ -42,7 +43,7 @@ const staticNextSelectProperties = [
|
||||
];
|
||||
|
||||
type SelectableField = {
|
||||
value: string; // string encodes path in runtime state object
|
||||
value: string | null; // string encodes path in runtime state object
|
||||
label: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user