thanks for the screenshot @Lucas_Pires I have one more question, I want when a notification comes in, and the user presses it, the notification number will disappear, is there a way to do that…? If so, I would like to ask you to show me how? Thank you very much…🙇♂️
I see you don’t actually use the notification number in the CSS, only showing if there’s at least one notification or not, the concept below should still hold.
I assume you’re having a “notifications” count already. I usually do this by having a user-specific “read?” boolean column in the table where I want to have notifications.
Then, in the user profiles table, I have a rollup to count false instances in that read boolean column and use that in a template column where I put the CSS in.
On any click of the “items” that I haven’t read, I set the boolean to true, so that decreases the notification count by 1, if you have the same setup above.
In your case, only show the CSS (conditional visibility) when the count is greater than 0.