|
|
@ -36,15 +36,12 @@ |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$: currentAutomation = $automationStore.selectedAutomation.automation |
|
|
|
|
|
$: console.log(currentAutomation) |
|
|
|
|
|
const onChangeTable = e => { |
|
|
const onChangeTable = e => { |
|
|
value["tableId"] = e.detail |
|
|
value["tableId"] = e.detail |
|
|
dispatch("change", value) |
|
|
dispatch("change", value) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const coerce = (value, type) => { |
|
|
const coerce = (value, type) => { |
|
|
console.log(type) |
|
|
|
|
|
if (type === "boolean") { |
|
|
if (type === "boolean") { |
|
|
return value === "true" |
|
|
return value === "true" |
|
|
} |
|
|
} |
|
|
|