Skip to content

Commit

Permalink
[Bug]: 代码加载的批准过程,对象页面没有发起审批按钮 #4734
Browse files Browse the repository at this point in the history
  • Loading branch information
Byran committed Apr 17, 2023
1 parent e3c7275 commit b75f5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/objectql/src/types/object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ export class SteedosObjectType extends SteedosObjectProperties {
const pAll = [];
pAll.push(this.callMetadataObjectServiceAction('get', { objectApiName: this.name }))
pAll.push(getObjectLayouts(userSession.profile, userSession.spaceId, this.name))
pAll.push(getObject("process_definition").directFind({ filters: [['space', '=', userSession.spaceId], ['object_name', '=', this.name], ['active', '=', true]] }))
pAll.push(getObject("process_definition").find({ filters: [['space', '=', userSession.spaceId], ['object_name', '=', this.name], ['active', '=', true]] }))
pAll.push(getObject("object_listviews").directFind({ filters: [['space', '=', userSession.spaceId], ['object_name', '=', this.name], [['owner', '=', userSession.userId], 'or', ['shared', '=', true]]] }))
pAll.push(FieldPermission.getObjectFieldsPermissionGroupRole(this.name))
pAll.push(this.getRelationsInfo())
Expand Down

0 comments on commit b75f5b8

Please sign in to comment.