F
Filamentβ€’6mo ago
Ankit Thapa

I am trying to add the database notification to multiple admin panel but....

I am trying to add the database notification to multiple admin panel but I am getting error databasenotification only work for the first default admin panel for user for other it is just throwing error do I need to do anything extra ? By database notification I mean the notification icon on the top right cornor of the panel. ->databasenotification()
7 Replies
Thijmen
Thijmenβ€’6mo ago
Which error do you get?
Ankit Thapa
Ankit Thapaβ€’6mo ago
this is the error I am getting I am little new to the filament so could not find any thing regarding this in the doc.
No description
Ankit Thapa
Ankit Thapaβ€’6mo ago
I have already published the notification table and migrate it.
Thijmen
Thijmenβ€’6mo ago
What is the code you added?
Ankit Thapa
Ankit Thapaβ€’6mo ago
Just added ->databaseNotification() to "ClientPanelProvider". If I remove this "->databaseNotification()" there is no error. But I want a notification panel for client panel as well not only for the admin panel
krekas
krekasβ€’6mo ago
does your client model has Notifiable trait?
Ankit Thapa
Ankit Thapaβ€’6mo ago
Thanks @krekas I missed that part now its working fine πŸ˜…. Thanks alot.
Want results from more Discord servers?
Add your server
More Posts