From aa82c6dd047fdc2d15ce354f17270eef4fb24828 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Fri, 31 May 2024 01:20:25 -0400 Subject: [PATCH] Update this --- app/Exceptions/DisplayException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exceptions/DisplayException.php b/app/Exceptions/DisplayException.php index 9c7927a43..6c44c356c 100644 --- a/app/Exceptions/DisplayException.php +++ b/app/Exceptions/DisplayException.php @@ -48,7 +48,7 @@ class DisplayException extends PanelException implements HttpExceptionInterface */ public function render(Request $request) { - if (str($request->url())->contains('livewire')) { + if ($request->is('livewire/update')) { Notification::make() ->title(static::class) ->body($this->getMessage())