diff --git a/packages/notifications/src/Notification.php b/packages/notifications/src/Notification.php index 54f6d25b40..69eb9c6575 100644 --- a/packages/notifications/src/Notification.php +++ b/packages/notifications/src/Notification.php @@ -125,7 +125,7 @@ class Notification extends ViewComponent implements Arrayable, HasEmbeddedView $view = $data['view'] ?? null; - if (filled($view) && ($static->getView() !== $view) && $static->isViewSafe($view)) { + if (filled($view) && ((! $static->hasView()) || ($static->getView() !== $view)) && $static->isViewSafe($view)) { $static->view($data['view']); }