Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
fix: fix contact being clickable when choosing a contact
Browse files Browse the repository at this point in the history
Close #395
  • Loading branch information
djaiss committed Jan 12, 2023
1 parent 0c4aaf1 commit 7b4215c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions resources/js/Shared/Form/ContactSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
v-for="contact in mostConsultedContacts"
:key="contact.id"
class="item-list flex items-center justify-between border-b border-gray-200 px-3 py-2 hover:bg-slate-50 dark:border-gray-700 dark:bg-slate-900 hover:dark:bg-slate-800">
<inertia-link :href="contact.url" class="text-blue-500 hover:underline">
{{ contact.name }}
</inertia-link>

{{ contact.name }}

<!-- actions -->
<ul class="text-sm">
<li class="inline cursor-pointer text-blue-500 hover:underline" @click="add(contact)">Add</li>
Expand Down Expand Up @@ -114,9 +114,8 @@
v-for="contact in searchResults"
:key="contact.id"
class="item-list flex items-center justify-between border-b border-gray-200 px-3 py-2 hover:bg-slate-50 dark:border-gray-700 dark:bg-slate-900 hover:dark:bg-slate-800">
<inertia-link :href="contact.url">

{{ contact.name }}
</inertia-link>

<!-- actions -->
<ul class="text-sm">
Expand Down

0 comments on commit 7b4215c

Please sign in to comment.