diff --git a/packages/nc-gui/components/webhook/Editor.vue b/packages/nc-gui/components/webhook/Editor.vue index 9a767d8591..09b360e944 100644 --- a/packages/nc-gui/components/webhook/Editor.vue +++ b/packages/nc-gui/components/webhook/Editor.vue @@ -496,6 +496,9 @@ watch( if (props.hook) { setHook(props.hook) onEventChange() + } else { + // Set the default hook title only when creating a new hook. + hookRef.title = getDefaultHookName(hooks.value) } }, { immediate: true }, @@ -509,7 +512,6 @@ onMounted(async () => { } else { hookRef.eventOperation = eventList.value[0].value.join(' ') } - hookRef.title = getDefaultHookName(hooks.value) onNotificationTypeChange()