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:
Dmitriy_Kravchenko 2026-10-21 13:54:25 +03:00
parent fdc95aeee0
commit 05a627c447
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function getAllExecutorNames(sourceSheet: GoogleAppsScript.Spreadsheet.Sheet): a
if (executorColumnIndex == -1) return [];
const executorColumnValues = sourceSheet
.getRange(1, executorColumnIndex + 1, dataRange.getNumColumns(), 1)
.getRange(1, executorColumnIndex + 1, dataRange.getNumRows(), 1)
.getValues()
.slice(1);