Fix for issue #406

This commit is contained in:
Frane Bandov 2020-03-26 16:30:17 +01:00
parent 51793c72bd
commit 01ee72f42f

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) {