fix client and tag dropdown does not work on click to add a new entity in the dropdown

This commit is contained in:
Gregor Vostrak
2024-04-22 02:00:02 +02:00
parent 4c1bbd7daa
commit bb0753dd89
2 changed files with 2 additions and 0 deletions

View File

@@ -146,6 +146,7 @@ const highlightedItem = computed(() => {
v-if="
searchValue.length > 0 && filteredClients.length === 0
"
@click="addClientIfNoneExists"
class="bg-card-background-active">
<div
class="flex space-x-3 items-center px-4 py-3 text-xs text-white font-medium border-t rounded-b-lg border-card-background-separator">

View File

@@ -166,6 +166,7 @@ const highlightedItem = computed(() => {
v-if="searchValue.length > 0 && filteredTags.length === 0"
class="bg-card-background-active">
<div
@click="addTagIfNoneExists"
class="text-white flex space-x-3 items-center px-4 py-3 text-xs font-medium border-t rounded-b-lg border-card-background-separator">
<PlusCircleIcon
class="w-5 flex-shrink-0"></PlusCircleIcon>