diff --git a/packages/nc-gui-v2/components/webhook/Editor.vue b/packages/nc-gui-v2/components/webhook/Editor.vue index 4713e988c2..f5b93b77c2 100644 --- a/packages/nc-gui-v2/components/webhook/Editor.vue +++ b/packages/nc-gui-v2/components/webhook/Editor.vue @@ -260,6 +260,10 @@ function filterOption(input: string, option: Option) { return option.value.toUpperCase().includes(input.toUpperCase()) } +async function onEventChange() { + // TODO +} + async function loadPluginList() { try { const plugins = (await $api.plugin.list()).list as any @@ -332,6 +336,11 @@ async function testWebhook() { await webhookTestRef.value.testWebhook() } +defineExpose({ + hook, + onEventChange, +}) + onMounted(() => { loadPluginList() })