Skip to content

Commit 39fca38

Browse files
committed
Export itemValue
1 parent 81367b5 commit 39fca38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/BaseModelBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function downloadCsv(): StreamedResponse
143143
foreach ($data as $item) {
144144
$row = [];
145145
foreach ($this->viewAttributes as $attribute => $trans) {
146-
$row[] = prettyPrint(Arr::get($item, $attribute));
146+
$row[] = $this->itemValue($item, $attribute);
147147
}
148148
fputcsv($handle, $row);
149149
}

0 commit comments

Comments
 (0)