monkey-front-core 0.0.191 → 0.0.194
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-feature-by-program-directive.mjs +3 -3
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +3 -5
- package/fesm2015/monkey-front-core.mjs +5 -7
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +4 -6
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.194.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.191.tgz +0 -0
|
@@ -2270,9 +2270,7 @@ class MonkeyEcxCommonsService {
|
|
|
2270
2270
|
console.error('Router must be declared');
|
|
2271
2271
|
}
|
|
2272
2272
|
else {
|
|
2273
|
-
router?.navigate([`/app/pages/${routes[statusCode]}`.toLowerCase()]
|
|
2274
|
-
skipLocationChange: true
|
|
2275
|
-
});
|
|
2273
|
+
router?.navigate([`/app/pages/${routes[statusCode]}`.toLowerCase()]);
|
|
2276
2274
|
}
|
|
2277
2275
|
}
|
|
2278
2276
|
handlePaginationOptions() {
|
|
@@ -2402,7 +2400,7 @@ class MonkeyEcxCommonsService {
|
|
|
2402
2400
|
otherArgs?.callbackMain();
|
|
2403
2401
|
}
|
|
2404
2402
|
}
|
|
2405
|
-
else if (allowedByProgram) {
|
|
2403
|
+
else if (!allowedByProgram) {
|
|
2406
2404
|
this.navigateToErrorPage(404, otherArgs?.router);
|
|
2407
2405
|
}
|
|
2408
2406
|
else if (pend.hasPendencies) {
|
|
@@ -4485,10 +4483,10 @@ class MonkeyEcxFeatureByProgramDirective {
|
|
|
4485
4483
|
const { feature, config } = this;
|
|
4486
4484
|
let display = 'none';
|
|
4487
4485
|
if (!MonkeyEcxUtils.persistNullEmptyUndefined(feature) ||
|
|
4488
|
-
!MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings[feature])) {
|
|
4486
|
+
!MonkeyEcxUtils.persistNullEmptyUndefined(config?.program?.settings?.[feature])) {
|
|
4489
4487
|
return;
|
|
4490
4488
|
}
|
|
4491
|
-
const disabled = config?.program?.settings[feature];
|
|
4489
|
+
const disabled = config?.program?.settings?.[feature];
|
|
4492
4490
|
if (!disabled) {
|
|
4493
4491
|
display = 'block';
|
|
4494
4492
|
}
|