Skip to content

Commit aff2065

Browse files
SumitYewale-Thaliajcortes
authored andcommitted
Fix: Issue resolved for not receiving multiple rows
1 parent b1ca8e4 commit aff2065

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/csvbox/sources/new-row-instant/new-row-instant.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sampleEmit from "./test-event.mjs";
33

44
export default {
55
key: "csvbox-new-row-instant",
6-
name: "Import New Row",
6+
name: "New Row Imported",
77
description: "Emit new events when a new row is added to a CSVBox sheet",
88
version: "0.0.1",
99
type: "source",
@@ -126,8 +126,8 @@ export default {
126126

127127
for (const row of body) {
128128
this.$emit(row, {
129-
id: row.import_id || `${row.sheet_id}_${row.row_number}_${Date.now()}`,
130-
summary: `New data imported to sheet ${row.sheet_name}`,
129+
id: `${row.sheet_id}_${row.row_number}_${Date.now()}`,
130+
summary: `New Row Imported from sheet ${row.sheet_name}`,
131131
ts: Date.now(),
132132
});
133133
}

0 commit comments

Comments
 (0)