Database Notifications trigger button not rendered
I'm following the instructions to set up database notifications. I added the blade to my layout file:
I added this to a new blade file in resources/views/notifications/database-notifications-trigger.blade.php:
I added this to the boot method of my AppServiceProvider:
The trigger button isn't rendered in my view.
Solution:Jump to solution
ok, apparently you also have to add some lines to the panel provider, which I didn't see in the docs.
```
->databaseNotifications()
->databaseNotificationsPolling('30s');...
4 Replies
just realized it's showing up on the admin panel, but not on my "app" panel..
Solution
ok, apparently you also have to add some lines to the panel provider, which I didn't see in the docs.
probably the polling is optional, but I got it working by adding this.