remove logs

This commit is contained in:
Peter Clement 2021-09-14 18:25:05 +01:00
parent cdcd582c41
commit 6809aa6e22
4 changed files with 0 additions and 5 deletions

View File

@ -46,12 +46,10 @@ const automationActions = store => ({
}) })
}, },
save: async ({ automation }) => { save: async ({ automation }) => {
console.log(automation)
const UPDATE_AUTOMATION_URL = `/api/automations` const UPDATE_AUTOMATION_URL = `/api/automations`
const response = await api.put(UPDATE_AUTOMATION_URL, automation) const response = await api.put(UPDATE_AUTOMATION_URL, automation)
const json = await response.json() const json = await response.json()
store.update(state => { store.update(state => {
console.log(state)
const existingIdx = state.automations.findIndex( const existingIdx = state.automations.findIndex(
existing => existing._id === automation._id existing => existing._id === automation._id
) )

View File

@ -29,7 +29,6 @@
$: testResult = $automationStore.selectedAutomation.testResults?.steps.filter( $: testResult = $automationStore.selectedAutomation.testResults?.steps.filter(
step => step.stepId === block.stepId step => step.stepId === block.stepId
) )
$: console.log(testResult)
$: instanceId = $database._id $: instanceId = $database._id
$: isTrigger = block.type === "TRIGGER" $: isTrigger = block.type === "TRIGGER"

View File

@ -5,7 +5,6 @@
export let isTrigger export let isTrigger
let inputToggled let inputToggled
let outputToggled let outputToggled
$: console.log(isTrigger)
</script> </script>
<ModalContent <ModalContent

View File

@ -6,7 +6,6 @@
import EditAutomationPopover from "./EditAutomationPopover.svelte" import EditAutomationPopover from "./EditAutomationPopover.svelte"
$: selectedAutomationId = $automationStore.selectedAutomation?.automation?._id $: selectedAutomationId = $automationStore.selectedAutomation?.automation?._id
$: console.log($automationStore)
onMount(() => { onMount(() => {
automationStore.actions.fetch() automationStore.actions.fetch()
}) })