Hide/Show member pages based on User role

Hey J.D. No problem at all I just appreciate you taking the time to help me out. I’ve been meaning to messaging you back but I just got back from vacation in Brazil.

Thank you so much! I’m really new to trying to understand how to code on VELO so excuse my ongoing noobish questions. Here’s what I’m wondering

  1. Where should I place this code? In the masterPage.js. Or in each members Area page(1.MyAddress, 2. MyAccount, 3. 150, 4 MyWallet,…) See pic below
  • If I were to guess I place it in my Master page. Since It would affect all of my members pages.

2. When I'm trying to debug my code and console.log my currentMember.getRoles() nothing appears on the console. So its hard to tell whats happening. 

  1. J.D. don’t know if I can ask this on here but would you be down to do like a 30m zoom call so I could ask a few more questions live? I’d be happy to pay you as well for the coaching