Browse Source

fix: check eventOperation is defined or not

pull/7246/head
Pranav C 1 year ago
parent
commit
9ce0a6f954
  1. 2
      packages/nc-gui/components/webhook/Editor.vue

2
packages/nc-gui/components/webhook/Editor.vue

@ -522,7 +522,7 @@ onMounted(async () => {
})
const isConditionSupport = computed(() => {
return !hookRef.eventOperation.includes('bulk')
return hookRef.eventOperation && !hookRef.eventOperation.includes('bulk')
})
</script>

Loading…
Cancel
Save