@antscorp/antsomi-ui 1.3.5-beta.404 → 1.3.5-beta.405

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.
@@ -51,6 +51,7 @@ export const hasSelectAccountPermission = (activeItemPath, flattenPermissionList
51
51
  if (isEmpty(activeItemPath))
52
52
  return false;
53
53
  let roleScope = false;
54
+ activeItemPath.reverse().pop();
54
55
  for (const activeItem of activeItemPath) {
55
56
  let permissionCode;
56
57
  /** Dùng để check xem Permission Code có được lấy từ @constant MENU_PERMISSIONS hay không */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.404",
3
+ "version": "1.3.5-beta.405",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",