Skip to content

Commit db3b74a

Browse files
MC-29874: [Magento Cloud] Unable to delete CSV files from Export Grid
1 parent 081274a commit db3b74a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

app/code/Magento/ImportExport/Ui/Component/Columns/ExportGridActions.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,17 @@ public function prepareDataSource(array $dataSource)
5656
$name = $this->getData('name');
5757
if (isset($item['file_name'])) {
5858
$item[$name]['view'] = [
59-
'href' => $this->urlBuilder->getUrl(Download::URL, ['_query' => ['filename' => $item['file_name']]]),
59+
'href' => $this->urlBuilder->getUrl(
60+
Download::URL,
61+
['_query' => ['filename' => $item['file_name']]]
62+
),
6063
'label' => __('Download')
6164
];
6265
$item[$name]['delete'] = [
63-
'href' => $this->urlBuilder->getUrl(Delete::URL, ['_query' => ['filename' => $item['file_name']]]),
66+
'href' => $this->urlBuilder->getUrl(
67+
Delete::URL,
68+
['_query' => ['filename' => $item['file_name']]]
69+
),
6470
'label' => __('Delete'),
6571
'confirm' => [
6672
'title' => __('Delete'),

0 commit comments

Comments
 (0)