Don't show Actions for Database notifications that are marked as read
I have the following database notification:
This successfully shows a button on each notification. How can I NOT show the button when the notification is read (e.g. in the notifications table there is a read_at that is not null in such case)
I tried it as follows but that does not work:
Any idea's?
2 Replies
This is not possible due to how database notifications are serialised to JSON for storager in the database.
OK thanks for the feedback. Was hoping to be able to use the read_at field in the database