Skip to content

Commit

Permalink
fix(Google Sheets Trigger Node): First non-header row is ignored when…
Browse files Browse the repository at this point in the history
… using on row added event (#8580)
  • Loading branch information
michael-radency committed Feb 8, 2024
1 parent 1e134f1 commit 2db8231
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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}`;
}
}

Expand Down

0 comments on commit 2db8231

Please sign in to comment.