F
Filament17mo ago
lodeki

chat bubble not working on the dashboard.

I' m using the basement-chat/chat-box in filament.I've successfully done the configuration as per the docs.I've added this component <x-basement::chat-box /> to the dashboard through the Filament::renderHook() inside the AppServiceProvider class.
Filament::serving(function(){
Filament::registerRenderHook(
'body.end',
fn (): string => Blade::render('<x-basement::chat-box />'),
) ;
});
Filament::serving(function(){
Filament::registerRenderHook(
'body.end',
fn (): string => Blade::render('<x-basement::chat-box />'),
) ;
});
.The bubble appears but on clicking it does not pop up.However when I try it on a custom view page [respective blade file ] of one of my resources , it pops up and works just fine.
4 Replies
lodeki
lodekiOP17mo ago
help?
toeknee
toeknee17mo ago
Not much we can do as it's not our plugin, or a community plugin. It looks like it's seperate package. Have you tried their github?
lodeki
lodekiOP17mo ago
The package is working well ....The challenge is i need to add it to the dashboard blade after the user has logged in.
toeknee
toeknee17mo ago
Sorry I thought you said it wasn’t rendering? Just condition if the user is logged in or not in a custom livewire component that’s rendered in a filament hook
Want results from more Discord servers?
Add your server