Browse Source

remove logs

pull/4023/head
Peter Clement 5 years ago
parent
commit
44b7b6a6f8
  1. 2
      packages/builder/src/builderStore/store/automation/index.js
  2. 1
      packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte
  3. 1
      packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte
  4. 1
      packages/builder/src/components/automation/AutomationPanel/AutomationList.svelte

2
packages/builder/src/builderStore/store/automation/index.js

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

1
packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte

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

1
packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte

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

1
packages/builder/src/components/automation/AutomationPanel/AutomationList.svelte

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

Loading…
Cancel
Save