mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 17:52:15 +01:00
fix client and tag dropdown does not work on click to add a new entity in the dropdown
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user