Skip to content

Commit

Permalink
fix client and tag dropdown does not work on click to add a new entit…
Browse files Browse the repository at this point in the history
…y in the dropdown
  • Loading branch information
Onatcer committed Apr 22, 2024
1 parent 4c1bbd7 commit bb0753d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/Components/Common/Client/ClientDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
1 change: 1 addition & 0 deletions resources/js/Components/Common/Tag/TagDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bb0753d

Please sign in to comment.