From 99e22135cc6c18221d3e7494c7efade54b646b62 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 20 Dec 2023 12:04:53 +0000 Subject: [PATCH] refact: hide condition option for bulk operation hooks --- packages/nc-gui/components/webhook/Editor.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/webhook/Editor.vue b/packages/nc-gui/components/webhook/Editor.vue index d2dba9bbc9..a77751852b 100644 --- a/packages/nc-gui/components/webhook/Editor.vue +++ b/packages/nc-gui/components/webhook/Editor.vue @@ -520,6 +520,10 @@ onMounted(async () => { } }, 50) }) + +const isConditionSupport = computed(() => { + return !hookRef.eventOperation.includes('bulk') +})