Fix workflow onTimestamp and onInterval triggers not showing constraints input

This commit is contained in:
Jože Fortun
2023-05-24 12:49:11 +02:00
parent db58d93a34
commit fe6ab0c0dd
@@ -461,6 +461,11 @@ export default {
eventChanged () {
this.item.triggers.constraints = []
if (['onTimestamp', 'onInterval'].includes(this.item.triggers.eventType)) {
this.addConstraint()
}
this.$root.$emit('change-detected')
this.updateDefaultName()
},