Fix getAllExecutorNames function to retrieve executor column values based on the correct number of rows, ensuring accurate data extraction from the source sheet.
This commit is contained in:
parent
fdc95aeee0
commit
05a627c447
|
|
@ -83,7 +83,7 @@ function getAllExecutorNames(sourceSheet: GoogleAppsScript.Spreadsheet.Sheet): a
|
||||||
if (executorColumnIndex == -1) return [];
|
if (executorColumnIndex == -1) return [];
|
||||||
|
|
||||||
const executorColumnValues = sourceSheet
|
const executorColumnValues = sourceSheet
|
||||||
.getRange(1, executorColumnIndex + 1, dataRange.getNumColumns(), 1)
|
.getRange(1, executorColumnIndex + 1, dataRange.getNumRows(), 1)
|
||||||
.getValues()
|
.getValues()
|
||||||
.slice(1);
|
.slice(1);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue