Gaia
NNovu
•Created by Gaia on 11/12/2024 in #💬│support
Hide workflows for specific users in Preferences component
Hello!
Is there any way to hide a workflow for specific users?
Let's say I have two workflows "workflow A" and "workflow B" and a user with a specific property (in this case the subscription plan on our project) should be able to see only workflow A or workflow B in the Preferences component based on the subscription plan he has.
We also check for the subscription plan in the execution of the flow, so I could hide the workflow just VISUALLY and that would be fine.
Thanks a lot!
G.
16 replies
NNovu
•Created by Gaia on 11/11/2024 in #💬│support
FCM webPush overrides not working
Hi! I'm using novu/node v2.0.1 on my NestJS project and I'm trying to set overrides for webPush, but the typing seems wrong.
The docs suggest this:
But the novu/node package says that there is no property webPush in the type:
How can I make it work?
I need to pass an override for the push notification icon and also for the redirect link.
(PS: For the push icon I also tried badge and icon properties as per ITriggerOverrideFCM type but it didn't work)
Best Regards,
Gaia
2 replies