Skip to content

Commit ba8e6fa

Browse files
authored
Merge pull request #264 from NHAS/fix/webhook_multiselect
Fix/webhook multiselect
2 parents e2e649f + ef41ec9 commit ba8e6fa

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

adminui/frontend/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

adminui/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"axios": "^1.7.7",
2424
"pinia": "^2.2.2",
2525
"vue": "^3.5.4",
26-
"vue-multiselect": "^3.3.1",
26+
"vue-multiselect": "^3.5.0",
2727
"vue-router": "^4.4.4",
2828
"vue-toastification": "^2.0.0-rc.5"
2929
},

adminui/frontend/src/components/Webhook.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import {
2323
type WebhookJsonAttributesRoles
2424
} from '@/api'
2525
26+
import Multiselect from 'vue-multiselect'
27+
2628
const toast = useToast()
2729
const { catcher } = useToastError()
2830
@@ -343,8 +345,10 @@ async function createWebhookTrigger() {
343345
<div v-if="incommingAttributes.error == ''" class="overflow-y-scroll max-h-[130px]">
344346
<table class="table overflow-scroll">
345347
<thead>
346-
<td>Attribute</td>
347-
<td>Value</td>
348+
<tr>
349+
<th>Attribute</th>
350+
<th>Value</th>
351+
</tr>
348352
</thead>
349353
<tbody>
350354
<tr class="hover" v-for="attribute in filteredAttributes" :key="attribute.key">
@@ -378,6 +382,7 @@ async function createWebhookTrigger() {
378382
<div>
379383
<label class="typo__label">{{ attribute.friendlyName }}</label>
380384

385+
381386
<Multiselect
382387
v-model="attribute.data.value"
383388
:options="incommingAttributes.attributes"

0 commit comments

Comments
 (0)