no more $smType in webapp
This commit is contained in:
1 parent
429dfd5b50
commit
c118ccc99b
20 files changed
+327
-502
No files matched your search
@@ -9,13 +9,9 @@ const makeDefault = (nodeType: keyof AutomationNodeMapping): AutomationNode => {
|
||||
switch (nodeType) {
|
||||
case 'action':
|
||||
return {
|
||||
$smType: 'action',
|
||||
action: "service",
|
||||
action_data: {
|
||||
'data': {},
|
||||
'service': '',
|
||||
'target': {},
|
||||
}
|
||||
'data': {},
|
||||
'service': '',
|
||||
'target': {},
|
||||
}
|
||||
case 'condition':
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user