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.
@@ -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;