From c2674c18c1acdec5fd7f7c0937f08b32b5f38e7a Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sun, 14 Aug 2022 00:12:38 +0800 Subject: [PATCH] fix(gui-v2): set default value for the webhook creation case --- packages/nc-gui-v2/components/webhook/Test.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/webhook/Test.vue b/packages/nc-gui-v2/components/webhook/Test.vue index 1a45f1f806..0a8e8551bf 100644 --- a/packages/nc-gui-v2/components/webhook/Test.vue +++ b/packages/nc-gui-v2/components/webhook/Test.vue @@ -28,7 +28,7 @@ watch( async function loadSampleData() { sampleData.value = { - data: await $api.dbTableWebhook.samplePayloadGet(meta?.value?.id as string, hook?.operation), + data: await $api.dbTableWebhook.samplePayloadGet(meta?.value?.id as string, hook?.operation || 'insert'), } }