Fix error when trying to fetch incorrectly configured workflow triggers in admin

This commit is contained in:
Katrin Yordanova
2023-03-17 12:51:21 +02:00
parent 5f5a0fdd03
commit 346df62287
2 changed files with 5 additions and 2 deletions
@@ -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"
>