enterprise-ng
enterprise-ng copied to clipboard
Module Nav: Switcher Roles are not correctly created
Describe the bug When the [roles] property on the module nav switcher is set the roles displayed on the switcher are empty.
To Reproduce Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/ids-quick-start-1711-6hzahy?file=src%2Fapp%2Fapp.component.ts
- Setup the roles property as described.
Expected behavior The user should be able to set the roles with both [roles] property or setRoles method.
Version
- ids-enterprise-ng: 4.86
Platform Browser Name: Chrome Browser Version: Version 123.0.6312.106 (Official Build) (64-bit)
Additional context See the exact behavior whenever the roles are inside or outside the component. The problem comes when they are set as in the screenshot. If that property is erased and only the setRoles method is used, everything works fine.