Browse Source

chore(nc-gui): lint

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
7f4f334dbe
  1. 2
      packages/nc-gui/components/webhook/List.vue
  2. 6
      packages/nc-gui/components/webhook/Test.vue

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

@ -151,7 +151,7 @@ onMounted(() => {
<div class="mr-2">{{ $t('labels.notifyVia') }} : {{ item?.notification?.type }}</div>
<div class="float-right pt-2 pr-1">
<a-tooltip placement="left" v-if="item.version === 'v2'">
<a-tooltip v-if="item.version === 'v2'" placement="left">
<template #title>
{{ $t('activity.copyWebhook') }}
</template>

6
packages/nc-gui/components/webhook/Test.vue

@ -24,7 +24,11 @@ watch(
)
async function loadSampleData() {
sampleData.value = await $api.dbTableWebhook.samplePayloadGet(meta?.value?.id as string, hook?.operation || 'insert', hook.version)
sampleData.value = await $api.dbTableWebhook.samplePayloadGet(
meta?.value?.id as string,
hook?.operation || 'insert',
hook.version,
)
}
async function testWebhook() {

Loading…
Cancel
Save