@steedos/service-ui 2.6.2-beta.9 → 2.6.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-ui",
3
- "version": "2.6.2-beta.9",
3
+ "version": "2.6.3",
4
4
  "main": "package.service.js",
5
5
  "keywords": [
6
6
  "steedos"
@@ -11,9 +11,9 @@
11
11
  "description": "steedos package",
12
12
  "repository": {},
13
13
  "dependencies": {
14
- "@steedos/core": "2.6.2-beta.9",
15
- "@steedos/i18n": "2.6.2-beta.9",
16
- "@steedos/objectql": "2.6.2-beta.9",
14
+ "@steedos/core": "2.6.3",
15
+ "@steedos/i18n": "2.6.3",
16
+ "@steedos/objectql": "2.6.3",
17
17
  "express": "4.18.1"
18
18
  },
19
19
  "license": "MIT",
@@ -21,5 +21,5 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "gitHead": "736185f3d7532c39baa65b1b26999b0141b6bb58"
24
+ "gitHead": "2b56101256aa6fa0069d86bd373e4e368bd7d073"
25
25
  }
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: baozhoutao@steedos.com
3
3
  * @Date: 2023-02-26 15:22:12
4
- * @LastEditors: liaodaxue
5
- * @LastEditTime: 2023-12-11 15:35:34
4
+ * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
5
+ * @LastEditTime: 2024-01-04 16:44:08
6
6
  * @Description:
7
7
  */
8
8
  try {
@@ -139,7 +139,11 @@ try {
139
139
  window.getFirstListView = (objectName) => {
140
140
  const uiSchema = window.getUISchemaSync(objectName);
141
141
  const disabled_list_views = uiSchema.permissions.disabled_list_views;
142
- return _.first(_.sortBy(_.values(_.filter(uiSchema.list_views,function(o) { return disabled_list_views.indexOf(o._id)<0; })), "sort_no"));
142
+ return _.first(_.sortBy(_.values(
143
+ _.filter(uiSchema.list_views, function (o, k) {
144
+ return disabled_list_views.indexOf(o._id) < 0 && k !== "lookup";
145
+ })
146
+ ), "sort_no"));
143
147
  };
144
148
 
145
149
  window.getAppsSync = () => {