@antscorp/antsomi-ui 1.3.5-beta.611 → 1.3.5-beta.612

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.
@@ -165,7 +165,12 @@ export const AccountSharing = props => {
165
165
  }
166
166
  const arrMenus = buildListAppMenus(data, userId);
167
167
  if (!arrMenus.some(url => convertedHomePage.includes(url))) {
168
- return redirectFirstMenu(data, userId);
168
+ // Redirect to recommendation
169
+ if (env !== ENV.DEV) {
170
+ window.location.assign(`${CDP_ROUTE[env || 'development']}/gen2/${networkId}/dashboard/recommendation`);
171
+ return;
172
+ }
173
+ // return redirectFirstMenu(data, userId);
169
174
  }
170
175
  window.location.href = convertedHomePage;
171
176
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.611",
3
+ "version": "1.3.5-beta.612",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",