@nocobase/plugin-acl 2.0.36 → 2.0.37

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.
@@ -8,7 +8,7 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.0.36",
11
+ "@nocobase/client": "2.0.37",
12
12
  "antd": "5.24.2",
13
13
  "react": "18.2.0",
14
14
  "react-i18next": "11.18.6",
@@ -17,13 +17,13 @@ module.exports = {
17
17
  "@formily/react": "2.3.7",
18
18
  "@ant-design/icons": "5.6.1",
19
19
  "lodash": "4.17.21",
20
- "@nocobase/utils": "2.0.36",
21
- "@nocobase/actions": "2.0.36",
22
- "@nocobase/cache": "2.0.36",
23
- "@nocobase/database": "2.0.36",
24
- "@nocobase/server": "2.0.36",
25
- "@nocobase/acl": "2.0.36",
26
- "@nocobase/test": "2.0.36",
20
+ "@nocobase/utils": "2.0.37",
21
+ "@nocobase/actions": "2.0.37",
22
+ "@nocobase/cache": "2.0.37",
23
+ "@nocobase/database": "2.0.37",
24
+ "@nocobase/server": "2.0.37",
25
+ "@nocobase/acl": "2.0.37",
26
+ "@nocobase/test": "2.0.37",
27
27
  "@formily/core": "2.3.7",
28
28
  "@formily/antd-v5": "1.2.3",
29
29
  "antd-style": "3.7.1"
@@ -273,7 +273,7 @@ function normalizeAssociationValue(value, recordKey) {
273
273
  }
274
274
  if (Array.isArray(value)) {
275
275
  const result = value.map((v) => typeof v === "number" || typeof v === "string" ? v : v[recordKey]).filter((v) => v !== null && v !== void 0);
276
- return result.length > 0 ? result : void 0;
276
+ return result;
277
277
  }
278
278
  return typeof value === "number" || typeof value === "string" ? value : value[recordKey];
279
279
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Based on roles, resources, and actions, access control can precisely manage interface configuration permissions, data operation permissions, menu access permissions, and plugin permissions.",
7
7
  "description.ru-RU": "На основе ролей, ресурсов и действий система контроля доступа может точно управлять разрешениями на изменение интерфейса, работу с данными, доступ к меню и разрешениями для подключаемых модулей.",
8
8
  "description.zh-CN": "基于角色、资源和操作的权限控制,可以精确控制界面配置权限、数据操作权限、菜单访问权限、插件权限。",
9
- "version": "2.0.36",
9
+ "version": "2.0.37",
10
10
  "license": "Apache-2.0",
11
11
  "main": "./dist/server/index.js",
12
12
  "homepage": "https://docs.nocobase.com/handbook/acl",
@@ -44,5 +44,5 @@
44
44
  "url": "git+https://github.com/nocobase/nocobase.git",
45
45
  "directory": "packages/plugins/acl"
46
46
  },
47
- "gitHead": "7514980b14f7584ded34e49ced5ee0457eb5c0c2"
47
+ "gitHead": "816b2b1e151dcdca857c4284ad91adea16f1904d"
48
48
  }