Harvey
Different toast alignments for frontend
Appreciate your time on this. I have decided to go with checking the
request()->header('referer')
and seeing if it has my /admin
in there. If it does then we can assume we're on the frontend. That was it'll also retain the correct transition-in.
In my service provider:
Seems to work for my case.21 replies
Different toast alignments for frontend
https://github.com/harvey-4thd/filament-notification-position here's a repo with the issue reproduced. Fullpage livewire component, with that custom middleware. You can click the button to test the notification.
21 replies