F
Filamentβ€’3w ago
Hik

Don't allow user to delete notifications

how do i remove the delete button
No description
3 Replies
DrByte
DrByteβ€’2w ago
You probably have to override the notification.blade.php and remove <x-filament-notifications::close-button /> But, by doing that you make it harder to upgrade, because any future updates to that blade file will have to be manually applied by you every time you update to the latest Filament.
toeknee
toekneeβ€’2w ago
Or just use css πŸ˜‰
.fi-modal-content .fi-no-notification-close-btn {display: none !important;}
.fi-modal-content .fi-no-notification-close-btn {display: none !important;}
DrByte
DrByteβ€’2w ago
Yes, CSS would be much simpler! πŸ˜„
Want results from more Discord servers?
Add your server