Browse Source

feat(nc-gui): add disabled for hook log tab and pass hook to LazyWebhookCallLog

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
f4861df4b5
  1. 4
      packages/nc-gui/components/webhook/Editor.vue

4
packages/nc-gui/components/webhook/Editor.vue

@ -712,14 +712,14 @@ onMounted(async () => {
</a-form> </a-form>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="hook-log" class="nc-hook-log"> <a-tab-pane key="hook-log" class="nc-hook-log" :disabled="!props.hook">
<template #tab> <template #tab>
<span> <span>
<MdiHistory /> <MdiHistory />
Call Log Call Log
</span> </span>
</template> </template>
<LazyWebhookCallLog /> <LazyWebhookCallLog :hook="hook" />
</a-tab-pane> </a-tab-pane>
</a-tabs> </a-tabs>
</template> </template>

Loading…
Cancel
Save