Skip to content

Commit

Permalink
fix: fix contact being clickable when choosing a contact (monicahq/ch…
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed Jan 12, 2023
1 parent 6e9362f commit 79f8b9c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions resources/js/Shared/Form/ContactSelector.vue
Expand Up @@ -80,9 +80,8 @@
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 +113,7 @@
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>
{{ contact.name }}

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

0 comments on commit 79f8b9c

Please sign in to comment.