F
Filamentβ€’4mo ago
Hik

Don't allow user to delete notifications

how do i remove the delete button
No description
3 Replies
DrByte
DrByteβ€’3mo 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β€’3mo 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β€’3mo ago
Yes, CSS would be much simpler! πŸ˜„
Want results from more Discord servers?
Add your server