How to code a dashboard button that knows which user plan to redirect to while preventing data loss? Answered

Post author
Igor Berya

Hello guys!
First of all big thanks to Memberstack team for an amazing product đŸ”„

I’m building my frist project now and stuck with the “Dashboard” button inside navbar.

So I have a “board members plan” and “clients plan”

I want to have “dashboard” button that works both ways depending on member plan. So when “client” clicks, this button forward to the client’s dashboard. And when “board” member click on the same button it would forward to the board’s member dashboard.

I hope I explained that correctly 🙂
Thank you in advance!

Comments

5 comments

Please sign in to leave a comment.