Fix MultiSelect usage

This commit is contained in:
Johannes Zellner
2025-07-08 14:52:22 +02:00
parent 0e3bcbe10d
commit ac4c5c6e28
3 changed files with 4 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ onMounted(async () => {
{{ $t('eventlog.title') }}
<div>
<TextInput :placeholder="$t('main.searchPlaceholder')" style="flex-grow: 1;" v-model="search"/>
<MultiSelect :search-threshold="10" v-model="actions" :options="availableActions" option-label="id" :selected-label="actions.length ? $t('main.multiselect.selected', { n: actions.length }) : $t('eventlog.filterAllEvents')"/>
<MultiSelect :search-threshold="10" v-model="actions" :options="availableActions" option-label="id" option-key="id" :selected-label="actions.length ? $t('main.multiselect.selected', { n: actions.length }) : $t('eventlog.filterAllEvents')"/>
<Button tool secondary @click="onRefresh()" :loading="refreshBusy" icon="fa-solid fa-sync-alt" />
</div>
</h1>