monkey-front-core 0.0.330 → 0.0.332
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/services/routes/monkeyecx-dicovery-params.service.mjs +3 -3
- package/fesm2015/monkey-front-core.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +2 -2
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/routes/monkeyecx-dicovery-params.service.d.ts +1 -1
- package/monkey-front-core-0.0.332.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.330.tgz +0 -0
|
@@ -4938,8 +4938,8 @@ class MonkeyEcxDiscoveryParamsService {
|
|
|
4938
4938
|
const found = MonkeyEcxUtils.persistNullEmptyUndefined(route) ? route.data[field] : null;
|
|
4939
4939
|
return found;
|
|
4940
4940
|
}
|
|
4941
|
-
getDataFromCurrentNavigation(field) {
|
|
4942
|
-
const navigation = this.router.getCurrentNavigation();
|
|
4941
|
+
getDataFromCurrentNavigation(field, router) {
|
|
4942
|
+
const navigation = this.router.getCurrentNavigation() || router?.getCurrentNavigation();
|
|
4943
4943
|
let state = null;
|
|
4944
4944
|
if (MonkeyEcxUtils.persistNullEmptyUndefined(navigation)) {
|
|
4945
4945
|
state = navigation?.extras.state;
|