Fix error when trying to fetch incorrectly configured workflow triggers in admin
This commit is contained in:
parent
5f5a0fdd03
commit
346df62287
@ -18,7 +18,11 @@
|
||||
v-for="(c, index) in trigger.item.constraints"
|
||||
:key="index"
|
||||
>
|
||||
{{ c.name[0].toUpperCase() + c.name.slice(1).toLowerCase() }} {{ c.op }} "{{ c.values.join(' or ') }}"
|
||||
<template
|
||||
v-if="c.name"
|
||||
>
|
||||
{{ c.name[0].toUpperCase() + c.name.slice(1).toLowerCase() }} {{ c.op }} "{{ c.values.join(' or ') }}"
|
||||
</template>
|
||||
<code
|
||||
v-if="index < trigger.item.constraints.length - 1"
|
||||
>
|
||||
|
||||
@ -453,7 +453,6 @@ export default {
|
||||
|
||||
eventChanged () {
|
||||
this.item.triggers.constraints = []
|
||||
this.addConstraint()
|
||||
this.$root.$emit('change-detected')
|
||||
this.updateDefaultName()
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user