target_blank-added-for-sitemap-url

This commit is contained in:
Sanjay 2022-04-01 18:12:12 +05:30
parent 44d53baa89
commit b3ad4bbcee
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class SitemapDataGrid extends DataGrid
'sortable' => false,
'filterable' => false,
'closure' => function ($row) {
return '<a href="' . ($url = Storage::url($row->path . '/' . $row->file_name)) . '">' . $url . '</a>';
return '<a href="' . ($url = Storage::url($row->path . '/' . $row->file_name)) . '" target="_blank">' . $url . '</a>';
},
]);
}