@antscorp/antsomi-ui 1.3.5-beta.925 → 1.3.5-beta.926

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.
@@ -97,9 +97,10 @@ export const recursivePermissionMenu = (menuItems, menuPermissions) => {
97
97
  */
98
98
  export const getGeneratePath = (path, params) => {
99
99
  try {
100
- const { portalId, userId, dashboardId, channelId } = params || {};
100
+ const { portalId, userId, accountId, dashboardId, channelId } = params || {};
101
101
  const paramsObjects = {
102
- user_id: userId ?? '-1',
102
+ // NOTE: Hot fix for account_id (login account)
103
+ user_id: accountId ?? userId ?? '-1',
103
104
  networkId: portalId ?? -1,
104
105
  portalId: portalId ?? -1,
105
106
  dashboardId: dashboardId ?? '-1',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.925",
3
+ "version": "1.3.5-beta.926",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",