Browse Source

fix: disable webhook body configuration in EE

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/6536/head
Raju Udava 1 year ago
parent
commit
6dd0a92d5e
  1. 2
      packages/nc-gui/components/webhook/Editor.vue

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

@ -72,7 +72,7 @@ let hookRef = reactive<
version: 'v2', version: 'v2',
}) })
const isBodyShown = ref(hookRef.version === 'v1' || (hookRef.version === 'v2' && appInfo.value.ee)) const isBodyShown = ref(hookRef.version === 'v1')
const urlTabKey = ref(isBodyShown.value ? 'body' : 'params') const urlTabKey = ref(isBodyShown.value ? 'body' : 'params')

Loading…
Cancel
Save