megaphone icon indicating copy to clipboard operation
megaphone copied to clipboard

Multiple Notifiable models

Open mginod opened this issue 4 months ago • 1 comments

Hello,

thank you for this great package, I'm having a lot of fun in my project using it.

My project has teams and users belonging to teams. Both the Team model and User model can be Notifiable. I'd like to know if there is a way to display at the same time notifications for the current user and for the team the current user belongs to. I've seen that a notifiableId parameter can be passed to the megaphone component but it's either the user or the team. Plus that would need to adjust the model property in the config file.

What would be the strategy to achieve the described behavior? Thank you for your input on this matter!

mginod avatar Feb 08 '24 16:02 mginod