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-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>
<span>
<MdiHistory />
Call Log
</span>
</template>
<LazyWebhookCallLog />
<LazyWebhookCallLog :hook="hook" />
</a-tab-pane>
</a-tabs>
</template>

Loading…
Cancel
Save