@steedos/standard-ui 2.6.4-beta.8 → 2.6.5

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.
@@ -4,6 +4,8 @@ icon: apps
4
4
  hidden: true
5
5
  version: 2.0
6
6
  enable_dataloader: false
7
+ paging:
8
+ enabled: false
7
9
  fields:
8
10
  label:
9
11
  inlineHelpText: This is the label of the tab, for web tabs only.
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: baozhoutao@steedos.com
3
3
  * @Date: 2022-08-05 14:17:44
4
- * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2023-05-30 15:07:13
4
+ * @LastEditors: 孙浩林 sunhaolin@steedos.com
5
+ * @LastEditTime: 2024-01-20 17:08:17
6
6
  * @Description:
7
7
  */
8
8
  const objectql = require('@steedos/objectql');
@@ -12,7 +12,12 @@ const _ = require('underscore');
12
12
  async function getAll(){
13
13
  const schema = objectql.getSteedosSchema();
14
14
  const configs = await register.registerTab.getAll(schema.broker)
15
- const dataList = _.pluck(configs, 'metadata');
15
+ const dataList = [];
16
+ for (const config of configs) {
17
+ if (config.metadata && !config.metadata.hidden) {
18
+ dataList.push(config.metadata);
19
+ }
20
+ }
16
21
 
17
22
  _.each(dataList, function(item){
18
23
  if(!item._id){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-ui",
3
- "version": "2.6.4-beta.8",
3
+ "version": "2.6.5",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,5 +12,5 @@
12
12
  "description": "steedos package",
13
13
  "repository": {},
14
14
  "license": "MIT",
15
- "gitHead": "4fc736213233b51219ebbc5162d0d9c7f7cef728"
15
+ "gitHead": "977b48666fda5a16f911d9b981da6b8b37a57e5c"
16
16
  }