Skip to content

Commit 189a192

Browse files
committed
Use data key for mapped value.
1 parent 1cdac4b commit 189a192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exports/DataTableQueuedExport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function map($row): array
3131
{
3232
return $this->columns
3333
->map(function (Column $column) use ($row) {
34-
return $row[$column['name']];
34+
return $row[$column['data']] ?? '';
3535
})
3636
->toArray();
3737
}

0 commit comments

Comments
 (0)