database notifications conditionally hide mark as unread/read button #12527
Unanswered
juliangums
asked this question in
Help
Replies: 3 comments 3 replies
-
I still haven't found a solution for this. Anyone? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Any news here? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Did you guys find a solution to this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Notifications
Package Version
latest
How can we help you?
I can add those buttons to a notification, but I only want it to be rendered if it is actually needed. If the notification is read. I don't know how I can inject a dependency in the closure, so I can conditionally hide it. I tried $record, $value, $notification, $livewire but the only thing that worked was $action and from there I don't know how to get the notification. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions