Browse Source

chore(gui-v2): enable delete dbTableWebhook.delete

pull/2838/head
Wing-Kam Wong 2 years ago
parent
commit
9dabd27393
  1. 2
      packages/nc-gui-v2/components/webhook/List.vue

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

@ -29,7 +29,7 @@ async function loadHooksList() {
async function deleteHook(item: Record<string, any>, index: number) { async function deleteHook(item: Record<string, any>, index: number) {
try { try {
if (item.id) { if (item.id) {
// await $api.dbTableWebhook.delete(item.id) await $api.dbTableWebhook.delete(item.id)
hooks.value.splice(index, 1) hooks.value.splice(index, 1)
} else { } else {
hooks.value.splice(index, 1) hooks.value.splice(index, 1)

Loading…
Cancel
Save