From 655b80920432c6b1d3c819f7ca193008d136e92e Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 30 Jan 2025 11:18:36 +0000 Subject: [PATCH] Lint --- packages/builder/src/stores/builder/automations.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/stores/builder/automations.ts b/packages/builder/src/stores/builder/automations.ts index 1510bb7acd..67c3e034fc 100644 --- a/packages/builder/src/stores/builder/automations.ts +++ b/packages/builder/src/stores/builder/automations.ts @@ -701,7 +701,7 @@ const automationActions = (store: AutomationStore) => ({ const isAppTrigger = block.stepId === AutomationTriggerStepId.APP const isRowTrigger = rowTriggers.includes(block.stepId) - let readableBinding: string = "" + let readableBinding = "" if (isTrigger) { if (isAppTrigger) { readableBinding = `trigger.fields.${name}` @@ -1614,8 +1614,8 @@ export const evaluationContext: Readable = derived( $selectedAutomation.data?.testData const triggerDef = $selectedAutomation.data?.definition?.trigger - const isWebhook = triggerDef?.stepId! === TriggerStepID.WEBHOOK - const isRowAction = triggerDef?.stepId! === TriggerStepID.ROW_ACTION + const isWebhook = triggerDef?.stepId === TriggerStepID.WEBHOOK + const isRowAction = triggerDef?.stepId === TriggerStepID.ROW_ACTION const rowActionTableId = triggerDef?.inputs?.tableId const rowActionTable = rowActionTableId ? $tables.list.find(table => table._id === rowActionTableId)