new conditions open up in edit mode

This commit is contained in:
ari committed 2022-07-19 20:44:37 -04:00
1 parent dcf577f84c
commit e7110dc97b
4 files changed
+18 -4

No files matched your search

@@ -56,7 +56,12 @@ export const ConditionNodeBase: FC<ConditionNodeBaseProps> = (props) => {
} else {
const Editor = getEditor(condition);
childrenConditions = (
<Editor condition={condition} onChange={updateCondition} ha={ha} />
<Editor
condition={condition}
onChange={updateCondition}
ha={ha}
initialViewMode="edit"
/>
);
}
// icons