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 authored and cstuncsik committed Feb 17, 2024
1 parent 2eb151f commit 3a2d7b5
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 3a2d7b5

Please sign in to comment.