Browse Source

feat(gui-v2): add auth message & wrap on condition with a-card

pull/2838/head
Wing-Kam Wong 2 years ago
parent
commit
f43f79334b
  1. 6
      packages/nc-gui-v2/components/webhook/Editor.vue

6
packages/nc-gui-v2/components/webhook/Editor.vue

@ -363,6 +363,10 @@ onMounted(() => {
<a-tab-pane key="auth" tab="Auth"> <a-tab-pane key="auth" tab="Auth">
<!-- TODO: set lang --> <!-- TODO: set lang -->
<MonacoEditor v-model="hook.api.auth" class="min-h-60 max-h-80" /> <MonacoEditor v-model="hook.api.auth" class="min-h-60 max-h-80" />
<span class="text-gray-600 prose-sm">
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-tab-pane>
</a-tabs> </a-tabs>
</a-col> </a-col>
@ -445,8 +449,10 @@ onMounted(() => {
</a-row> </a-row>
<a-row class="mb-5" type="flex"> <a-row class="mb-5" type="flex">
<a-col :span="24"> <a-col :span="24">
<a-card>
<a-checkbox v-model:checked="hook.condition">On Condition</a-checkbox> <a-checkbox v-model:checked="hook.condition">On Condition</a-checkbox>
<SmartsheetToolbarColumnFilter v-if="hook.condition" /> <SmartsheetToolbarColumnFilter v-if="hook.condition" />
</a-card>
</a-col> </a-col>
</a-row> </a-row>
<a-row> <a-row>

Loading…
Cancel
Save