Skip to content

Commit

Permalink
fix(core): fix enable save button
Browse files Browse the repository at this point in the history
save button enable on valid WF

GH-65
  • Loading branch information
Deepika516 committed Feb 26, 2024
1 parent 6fd2d7e commit cc4f42f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion projects/workflows-creator/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{
"name": "@sourceloop/workflows-creator",
"version": "1.1.8",
"version": "1.1.4",
"description": "Library for providing a smooth user workflow.",
"keywords": [
"angular-library"
],
"peerDependencies": {
"@angular/common": "13.3.0",
"@angular/core": "~13.3.11",
"@angular/forms": "13.3.0",
"bpmn-moddle": "^8.0.0",
"lodash": "^4.17.21",
"ngx-popperjs": "^13.3.0",
"@popperjs/core": "^2.11.6"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
[templateMap]="templateMap"
[allColumns]="allColumns"
(eventAdded)="onEventAdded($event)"
(eventRemoved)="onEventRemoved()"
(actionAdded)="onActionAdded($event)"
(itemChanged)="onItemChanged($event)"
></workflow-group>
Expand Down Expand Up @@ -56,6 +57,7 @@
[templateMap]="templateMap"
[allColumns]="allColumns"
(eventAdded)="onEventAdded($event)"
(eventRemoved)="onEventRemoved()"
(actionAdded)="onActionAdded($event)"
(itemChanged)="onItemChanged($event)"
></workflow-group>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ export class BuilderComponent<E> implements OnInit, OnChanges {
(events[0].node.getIdentifier() === EventTypes.OnChangeEvent &&
(events[0].node.state.get('value') === ValueTypes.AnyValue ||
events[0].node.state.get('valueType') === ValueTypes.AnyValue)));
this.updateDiagram();
}
/**
* When an action is added, emit an event with the name of the action and the action itself, update
Expand Down

0 comments on commit cc4f42f

Please sign in to comment.