Browse Source

fix(gui-v2): set default value for the webhook creation case

pull/3129/head
Wing-Kam Wong 2 years ago
parent
commit
c2674c18c1
  1. 2
      packages/nc-gui-v2/components/webhook/Test.vue

2
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'),
}
}

Loading…
Cancel
Save