@steedos/service-plugin-amis 2.7.1-beta.13 → 2.7.1-beta.14

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.
@@ -238,7 +238,7 @@ module.exports = {
238
238
  const include_hide = ctx.params.include_hide === "true";
239
239
  const include_related = ctx.params.include_related === "true";
240
240
 
241
- if(objectConfig.enable_workflow){
241
+ if(objectConfig.enable_workflow && objectConfig.fields?.instance_state){
242
242
  try {
243
243
  objectConfig.fields.instance_state.hidden = false;
244
244
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.7.1-beta.13",
3
+ "version": "2.7.1-beta.14",
4
4
  "main": "package.service.js",
5
5
  "scripts": {
6
6
  "build": "yarn build:tailwind-base && yarn build:tailwind",
@@ -13,7 +13,7 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
- "gitHead": "4f545b49ccc0875abcfa08aef8af98e3c3418059",
16
+ "gitHead": "8e3f33f7b41c049424006ca336af8f327c3cb1be",
17
17
  "devDependencies": {
18
18
  "tailwindcss": "3.2.4"
19
19
  }