🔀 Merge pull request #413 from frane/GH-406

Fix for issue #406
This commit is contained in:
Jan
2020-03-26 22:59:56 +01:00
committed by GitHub

View File

@@ -444,7 +444,7 @@ export class GoogleSheet {
// Loop over all the items and find the one with the matching value
for (rowIndex = dataStartRowIndex; rowIndex < inputData.length; rowIndex++) {
if (inputData[rowIndex][returnColumnIndex].toString() === lookupValue.lookupValue.toString()) {
if (inputData[rowIndex][returnColumnIndex]?.toString() === lookupValue.lookupValue.toString()) {
returnData.push(inputData[rowIndex]);
if (returnAllMatches !== true) {