monkey-front-core 0.0.60 → 0.0.61
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.
- package/esm2020/lib/core/directives/monkeyecx-security-directive.mjs +2 -8
- package/fesm2015/monkey-front-core.mjs +1 -7
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +1 -7
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.61.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.60.tgz +0 -0
|
@@ -2793,13 +2793,7 @@ class MonkeyEcxSecurityDirective {
|
|
|
2793
2793
|
handleAccess() {
|
|
2794
2794
|
const { roles, byExclusion } = this;
|
|
2795
2795
|
let display = 'none';
|
|
2796
|
-
|
|
2797
|
-
console.log(roles);
|
|
2798
|
-
console.log('this.getRole()');
|
|
2799
|
-
console.log(this.getRole());
|
|
2800
|
-
const found = roles?.indexOf(this.getRole()) || -1;
|
|
2801
|
-
console.log('found');
|
|
2802
|
-
console.log(found);
|
|
2796
|
+
const found = roles?.indexOf(this.getRole());
|
|
2803
2797
|
if (byExclusion) {
|
|
2804
2798
|
display = 'block';
|
|
2805
2799
|
if (found > -1) {
|