We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c2a0e9 commit bde34dcCopy full SHA for bde34dc
mavo-gsheets.js
@@ -3,7 +3,7 @@
3
/**
4
* Google Sheets backend plugin for Mavo
5
* @author Dmitry Sharabin and contributors
6
- * @version 1.0.4
+ * @version 1.0.5
7
*/
8
9
(($, $f) => {
@@ -228,7 +228,14 @@
228
// Search for the first fully empty row.
229
for (let row = startRow; row < rawValues.length; row++) {
230
const r = rawValues[row];
231
- const isEmpty = r?.every((cell, index) => index <= endColumn && !cell?.effectiveValue);
+
232
+ let isEmpty = true;
233
+ for (let column = startColumn; column <= endColumn; column++) {
234
+ if (r?.[column]?.effectiveValue) {
235
+ isEmpty = false;
236
+ break;
237
+ }
238
239
240
if (!r || isEmpty) {
241
endRow = row - 1;
0 commit comments