Closed SE-Graham closed 1 month ago
Does PR https://github.com/bigcommerce/b2b-buyer-portal/pull/67 resolve this issue?
@SE-Graham yes, that one is related to this issue
Closing as this was resolved with PR https://github.com/bigcommerce/b2b-buyer-portal/pull/67
Type: (Select one)
Summary:
The navigation menu is showing features that have been disabled e.g you turn invoices off in the b2b app in BC.
The issue seems to have been caused by changes made in bdcda35c2b21d4191fde5eb951fd8f35b9be97f1
The following was added to the routes - getAllowedRoutes this seems to skip checking if features are enabled and only check permissions
Expected Behavior:
Actual Behavior:
Disabled features are showing in the navigation menu
Describe what is actually happening.
Steps to Reproduce (Bug Reports Only):