removed $smType for conditions and trigger
This commit is contained in:
1 parent
49fea3fabd
commit
429dfd5b50
41 files changed
+410
-723
No files matched your search
@@ -5,12 +5,9 @@ import { OptionManager } from "./OptionManager";
|
||||
|
||||
export const ConditionLogicState: OptionManager<AutomationCondition> = {
|
||||
defaultState: () => ({
|
||||
$smType: 'condition',
|
||||
condition: 'and',
|
||||
condition_data: {
|
||||
alias: "",
|
||||
conditions: [],
|
||||
}
|
||||
alias: "",
|
||||
conditions: [],
|
||||
}),
|
||||
isReady: _ => true,
|
||||
renderOptionList: (state, setState) => <ConditionEditor
|
||||
|
||||
Reference in new issue
Block a user