🐛 Fix issue when looking up values on Google Sheets (#1708)
This commit is contained in:
@@ -415,6 +415,12 @@ export class GoogleSheet {
|
|||||||
for (let i = 0; i < keys.length; i++) {
|
for (let i = 0; i < keys.length; i++) {
|
||||||
inputData[rowIndex][i] = '';
|
inputData[rowIndex][i] = '';
|
||||||
}
|
}
|
||||||
|
} else if (inputData[rowIndex].length < keys.length) {
|
||||||
|
for (let i = 0; i < keys.length; i++) {
|
||||||
|
if (inputData[rowIndex][i] === undefined) {
|
||||||
|
inputData[rowIndex].push('');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Loop over all the lookup values and try to find a row to return
|
// Loop over all the lookup values and try to find a row to return
|
||||||
|
|||||||
Reference in New Issue
Block a user