Browse Source

fix: add missing enable/disable checkbox in wubhook query params tab

closes #6246

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6287/head
Pranav C 1 year ago
parent
commit
a6486619c9
  1. 6
      packages/nc-gui/components/api-client/Params.vue

6
packages/nc-gui/components/api-client/Params.vue

@ -23,6 +23,7 @@ const deleteParamRow = (i: number) => {
<table class="w-full nc-webhooks-params"> <table class="w-full nc-webhooks-params">
<thead class="h-8"> <thead class="h-8">
<tr> <tr>
<th></th>
<th> <th>
<div class="text-left font-normal ml-2">Parameter Name</div> <div class="text-left font-normal ml-2">Parameter Name</div>
</th> </th>
@ -39,6 +40,11 @@ const deleteParamRow = (i: number) => {
<tbody> <tbody>
<tr v-for="(paramRow, idx) in vModel" :key="idx" class="!h-2 overflow-hidden"> <tr v-for="(paramRow, idx) in vModel" :key="idx" class="!h-2 overflow-hidden">
<td class="px-2 nc-hook-header-tab-checkbox">
<a-form-item class="form-item">
<a-checkbox v-model:checked="paramRow.enabled" />
</a-form-item>
</td>
<td class="px-2"> <td class="px-2">
<a-form-item class="form-item"> <a-form-item class="form-item">
<a-input v-model:value="paramRow.name" placeholder="Key" class="!rounded-lg" /> <a-input v-model:value="paramRow.name" placeholder="Key" class="!rounded-lg" />

Loading…
Cancel
Save