monkey-front-core 0.0.328 → 0.0.329

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3822,13 +3822,14 @@ class MonkeyEcxSecurityDirective {
3822
3822
  if (tokenCredentials?.programAdmin === 'true') {
3823
3823
  return 'PROGRAM_ADMIN';
3824
3824
  }
3825
+ if (tokenCredentials?.programAdmin === true) {
3826
+ return 'PROGRAM_ADMIN';
3827
+ }
3825
3828
  return tokenCredentials?.role || '';
3826
3829
  }
3827
3830
  handleAccess() {
3828
3831
  const { roles, byExclusion } = this;
3829
3832
  let display = 'none';
3830
- console.log('this.tokenCredentials');
3831
- console.log(this.tokenCredentials);
3832
3833
  const found = roles?.indexOf(this.getRole());
3833
3834
  if (byExclusion) {
3834
3835
  display = 'block';