Browse Source

refact: hide condition option for bulk operation hooks

pull/7246/head
Pranav C 11 months ago
parent
commit
99e22135cc
  1. 7
      packages/nc-gui/components/webhook/Editor.vue

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

@ -520,6 +520,10 @@ onMounted(async () => {
} }
}, 50) }, 50)
}) })
const isConditionSupport = computed(() => {
return !hookRef.eventOperation.includes('bulk')
})
</script> </script>
<template> <template>
@ -770,8 +774,7 @@ onMounted(async () => {
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
<a-row class="mb-5" type="flex" v-if="isConditionSupport">
<a-row class="mb-5" type="flex">
<a-col :span="24"> <a-col :span="24">
<div class="rounded-lg border-1 p-6"> <div class="rounded-lg border-1 p-6">
<a-checkbox <a-checkbox

Loading…
Cancel
Save