Browse Source

chore(nc-gui): hide auth in webhook

pull/5317/head
Wing-Kam Wong 2 years ago
parent
commit
9db2bb6996
  1. 17
      packages/nc-gui/components/webhook/Editor.vue

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

@ -588,14 +588,15 @@ onMounted(async () => {
<LazyApiClientHeaders v-model="hook.notification.payload.headers" />
</a-tab-pane>
<a-tab-pane key="auth" tab="Auth">
<LazyMonacoEditor v-model="hook.notification.payload.auth" class="min-h-60 max-h-80" />
<span class="text-gray-500 prose-sm p-2">
For more about auth option refer
<a class="prose-sm" href="https://github.com/axios/axios#request-config" target="_blank">axios docs</a>.
</span>
</a-tab-pane>
<!-- No in use at this moment -->
<!-- <a-tab-pane key="auth" tab="Auth">-->
<!-- <LazyMonacoEditor v-model="hook.notification.payload.auth" class="min-h-60 max-h-80" />-->
<!-- <span class="text-gray-500 prose-sm p-2">-->
<!-- For more about auth option refer-->
<!-- <a class="prose-sm" href ="https://github.com/axios/axios#request-config" target="_blank">axios docs</a>.-->
<!-- </span>-->
<!-- </a-tab-pane>-->
</a-tabs>
</a-col>
</a-row>

Loading…
Cancel
Save