diff --git a/projects/workflows-creator/src/lib/builder/builder.component.ts b/projects/workflows-creator/src/lib/builder/builder.component.ts index 7240cba..63a385d 100644 --- a/projects/workflows-creator/src/lib/builder/builder.component.ts +++ b/projects/workflows-creator/src/lib/builder/builder.component.ts @@ -460,16 +460,16 @@ export class BuilderComponent implements OnInit, OnChanges { case EventTypes.OnValueEvent: case ActionTypes.ChangeColumnValueAction: const columnExists = !!node.node.state.get('column'); - let valueExists = false; - if (typeof node.node.state.get('value') !== 'undefined') { - valueExists = true; - } else if ( - node.node.state.get('condition') === ConditionTypes.PastToday - ) { - valueExists = true; - } else { - valueExists = !!node.node.state.get('value'); - } + let valueExists = false; + if (typeof node.node.state.get('value') !== 'undefined') { + valueExists = true; + } else if ( + node.node.state.get('condition') === ConditionTypes.PastToday + ) { + valueExists = true; + } else { + valueExists = !!node.node.state.get('value'); + } const valueTypeIsAnyValue = node.node.state.get('valueType') === ValueTypes.AnyValue; isValid = columnExists && (valueExists || valueTypeIsAnyValue); diff --git a/projects/workflows-creator/src/lib/builder/group/group.component.html b/projects/workflows-creator/src/lib/builder/group/group.component.html index 501dd2e..b28cd14 100644 --- a/projects/workflows-creator/src/lib/builder/group/group.component.html +++ b/projects/workflows-creator/src/lib/builder/group/group.component.html @@ -277,7 +277,8 @@
- +
- +