diff --git a/packages/nc-gui-v2/components/webhook/Editor.vue b/packages/nc-gui-v2/components/webhook/Editor.vue
index 53d497e73e..8a5571f265 100644
--- a/packages/nc-gui-v2/components/webhook/Editor.vue
+++ b/packages/nc-gui-v2/components/webhook/Editor.vue
@@ -220,10 +220,11 @@ function onNotTypeChange(reset = false) {
}
if (hook.notification.type === 'URL') {
- hook.notification.payload.body = '{{ json data }}'
- hook.notification.payload.parameters = [{}]
- hook.notification.payload.headers = [{}]
- hook.notification.payload.method = 'POST'
+ hook.notification.payload.body = hook.notification.payload.body || '{{ json data }}'
+ hook.notification.payload.parameters = hook.notification.payload.parameters || [{}]
+ hook.notification.payload.headers = hook.notification.payload.headers || [{}]
+ hook.notification.payload.method = hook.notification.payload.method || 'POST'
+ hook.notification.payload.auth = hook.notification.payload.auth || ''
}
}
@@ -413,14 +414,24 @@ onMounted(async () => {
-
+
-
+
{{ event.text.join(' ') }}
@@ -471,7 +482,12 @@ onMounted(async () => {
-
+