We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df5488 commit 3d1986fCopy full SHA for 3d1986f
handler.js
@@ -38,9 +38,9 @@ function getData() {
38
let currentRowCount = sheetData.getLastRow();
39
let data = sheetData
40
.getRange(
41
- /* row */ Math.max(currentRowCount - 74, 0),
+ /* row */ Math.max(currentRowCount - BUFFER_ROW_COUNT - 1, 2),
42
/* column */ 1,
43
- /* numRows */ currentRowCount,
+ /* numRows */ Math.min(currentRowCount, BUFFER_ROW_COUNT),
44
/* numColumns */ 4
45
)
46
.getValues();
0 commit comments