Skip to content

Commit

Permalink
fixed export action notification url
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Jan 7, 2023
1 parent 0d80bcf commit fe7f4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/ExportAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static function process(

MoonShineNotification::send(
trans('moonshine::ui.resource.export.exported'),
['link' => Storage::disk($disk)->url($url), 'label' => trans('moonshine::ui.download')]
['link' => Storage::disk($disk)->url(trim($dir, '/') . $url), 'label' => trans('moonshine::ui.download')]
);

return $result;
Expand Down

0 comments on commit fe7f4cb

Please sign in to comment.