Skip to content

Commit

Permalink
fix: PhpSpreadsheet exporters not utilizing the "value" view var
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyu committed Feb 19, 2024
1 parent d98433b commit 3f1eb1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function createSpreadsheet(DataTableView $view, array $options = []):

foreach ($view->valueRows as $valueRow) {
$this->appendRow($worksheet, array_map(
static fn (ColumnValueView $view) => $view->value,
static fn (ColumnValueView $view) => $view->vars['value'],
$valueRow->children,
));
}
Expand Down

0 comments on commit 3f1eb1c

Please sign in to comment.