Hey everyone, I'm working on migrating some old SC...
# suitecommerce
b
Hey everyone, I'm working on migrating some old SCA code ( denali ) to 19.2, and I need to remove some of the menu items from myaccount. I was able to do so with the following :
Copy code
MyAccountMenu.removeSubEntry('balance');
however, the routing to this page still exists. I don't see
routes
anywhere in the BalanceView which makes sense since it is using the pageTypeComponent to register it. I'm wondering if there is some type of un-registerPageType or removePageType that I just haven't been able to find? Any help pointing me in the right direction would be greatly appreciated!
e
HI @Bryce I am not sure if there is a method to un-register the path/route, but all of them are setup in a single file in this version, look for Header.ts