Browse Source

feat(nc-gui): disable copy hook for v1 and add version label

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

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

@ -129,9 +129,10 @@ onMounted(() => {
</template>
<template #title>
<span class="text-xl normal-case">
<div class="text-xl normal-case">
{{ item.title }}
</span>
<span class="text-gray-400 text-sm"> ({{ item.version }}) </span>
</div>
</template>
<template #avatar>
@ -150,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">
<a-tooltip placement="left" v-if="item.version === 'v2'">
<template #title>
{{ $t('activity.copyWebhook') }}
</template>

Loading…
Cancel
Save