enterprise-ng icon indicating copy to clipboard operation
enterprise-ng copied to clipboard

Module Nav: Switcher Roles are not correctly created

Open Abrai7 opened this issue 10 months ago • 2 comments

Describe the bug When the [roles] property on the module nav switcher is set the roles displayed on the switcher are empty.

image image

To Reproduce Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/edit/ids-quick-start-1711-6hzahy?file=src%2Fapp%2Fapp.component.ts
  2. 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.

Abrai7 avatar Apr 16 '24 18:04 Abrai7