monkey-front-core 0.0.453 → 0.0.455

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.
@@ -3160,8 +3160,8 @@ class MonkeyEcxCommonsResolveService extends MonkeyEcxCommonsService {
3160
3160
  async getData() {
3161
3161
  try {
3162
3162
  const { store, route, action, selector, tokenStorage } = this;
3163
- const { companyId, companyType } = await tokenStorage?.getToken();
3164
- const identifier = `${companyId}-${companyType}`;
3163
+ const { companyId, companyType, governmentId } = await tokenStorage?.getToken();
3164
+ const identifier = `${companyId || governmentId}-${companyType}`;
3165
3165
  if (!route)
3166
3166
  return;
3167
3167
  const url = MonkeyEcxUtils.replaceVariables(route, { companyId });
@@ -3186,8 +3186,8 @@ class MonkeyEcxCommonsResolveService extends MonkeyEcxCommonsService {
3186
3186
  store.dispatch(actionPagination.load({
3187
3187
  identifier: `${companyId}-${companyType}`,
3188
3188
  pagination: {
3189
- action: 'next'
3190
- }
3189
+ action: 'next',
3190
+ },
3191
3191
  }));
3192
3192
  }
3193
3193
  catch (e) {
@@ -3247,8 +3247,8 @@ class MonkeyEcxCommonsResolveService extends MonkeyEcxCommonsService {
3247
3247
  const { router, currentRoute } = this;
3248
3248
  router.navigate([route || `${currentRoute}/details`], {
3249
3249
  state: {
3250
- detailsData
3251
- }
3250
+ detailsData,
3251
+ },
3252
3252
  });
3253
3253
  }
3254
3254
  catch (e) {