You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comma separated string could be writted with white spaces, at least in my case:
ng-if-permission="ROLE_ADMINISTRADOR, ROLE_SUPERVISOR"
It is solved and made the code more robust using trim and split as:
permissions = attrs.ngIfPermission.split(/[\s,]+/);
A comma separated string could be writted with white spaces, at least in my case:
ng-if-permission="ROLE_ADMINISTRADOR, ROLE_SUPERVISOR"
It is solved and made the code more robust using trim and split as:
permissions = attrs.ngIfPermission.split(/[\s,]+/);
It would be applied to all cases.
The text was updated successfully, but these errors were encountered: