@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 +5 -5
- package/public/steedos-init.js +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-ui",
|
|
3
|
-
"version": "2.6.
|
|
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.
|
|
15
|
-
"@steedos/i18n": "2.6.
|
|
16
|
-
"@steedos/objectql": "2.6.
|
|
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": "
|
|
24
|
+
"gitHead": "2b56101256aa6fa0069d86bd373e4e368bd7d073"
|
|
25
25
|
}
|
package/public/steedos-init.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author: baozhoutao@steedos.com
|
|
3
3
|
* @Date: 2023-02-26 15:22:12
|
|
4
|
-
* @LastEditors:
|
|
5
|
-
* @LastEditTime:
|
|
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(
|
|
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 = () => {
|