From 3a2d7b5334ba112f2dd5ecaf2dd4739199aefa3d Mon Sep 17 00:00:00 2001 From: Michael Kret <88898367+michael-radency@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:56:22 +0200 Subject: [PATCH] fix(Google Sheets Trigger Node): First non-header row is ignored when using on row added event (#8580) --- .../nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts b/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts index 5686e5dceb3dcd..da4dd338aac316 100644 --- a/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Sheet/GoogleSheetsTrigger.node.ts @@ -473,7 +473,7 @@ export class GoogleSheetsTrigger implements INodeType { const [from, to] = range.split(':'); let keyRange = `${from}${keyRow}:${to}${keyRow}`; - let rangeToCheck = `${from}${startIndex}:${to}`; + let rangeToCheck = `${from}${keyRow}:${to}`; if (options.dataLocationOnSheet) { const locationDefine = (options.dataLocationOnSheet as IDataObject).values as IDataObject; @@ -503,7 +503,7 @@ export class GoogleSheetsTrigger implements INodeType { rangeToCheck = `${cellDataFrom[1]}${+cellDataFrom[2] + 1}:${rangeTo}`; } else { keyRange = `${cellDataFrom[1]}${keyRow}:${cellDataTo[1]}${keyRow}`; - rangeToCheck = `${cellDataFrom[1]}${startIndex}:${rangeTo}`; + rangeToCheck = `${cellDataFrom[1]}${keyRow}:${rangeTo}`; } }