Browse Source

fix(gui-v2): use setHook instead

pull/2838/head
Wing-Kam Wong 2 years ago
parent
commit
758aa565fb
  1. 2
      packages/nc-gui-v2/components/webhook/Drawer.vue

2
packages/nc-gui-v2/components/webhook/Drawer.vue

@ -22,7 +22,7 @@ const dialogShow = computed({
async function editHook(hook: Record<string, any>) {
editOrAdd.value = true
nextTick(async () => {
webhookEditorRef.value.hook = { ...hook }
webhookEditorRef.value.setHook(hook)
await webhookEditorRef.value.onEventChange()
})
}

Loading…
Cancel
Save