Skip to content

Commit 0356fe2

Browse files
committed
refactor: formatcode
1 parent 94b6776 commit 0356fe2

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

frontend/src/components/CompanyOrSpeakerOrMemberAutocompleteWithDialog.vue

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,14 @@ watch(
400400
} else {
401401
companyFuzzy.value = createFuzzySearch(list, {
402402
// match on multiple fields
403-
getText: (company: Company) => [company.name, company.description ?? ""],
403+
getText: (company: Company) => [
404+
company.name,
405+
company.description ?? "",
406+
],
404407
});
405408
}
406409
},
407-
{ immediate: true }
410+
{ immediate: true },
408411
);
409412
410413
const speakerFuzzy = ref(null);
@@ -415,11 +418,14 @@ watch(
415418
speakerFuzzy.value = null;
416419
} else {
417420
speakerFuzzy.value = createFuzzySearch(list, {
418-
getText: (speaker: Speaker) => [speaker.name, speaker.companyName ?? ""],
421+
getText: (speaker: Speaker) => [
422+
speaker.name,
423+
speaker.companyName ?? "",
424+
],
419425
});
420426
}
421427
},
422-
{ immediate: true }
428+
{ immediate: true },
423429
);
424430
const filteredCompanies = computed(() => {
425431
const list = companiesData.value?.data ?? [];

0 commit comments

Comments
 (0)