Skip to content

Commit

Permalink
fix: fix avatar not showing on reminder list (monicahq/chandler#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss authored Sep 20, 2022
1 parent 7903e53 commit 3d9cc3b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/js/Pages/Vault/Dashboard/Reminder/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
{{ reminder.scheduled_at }}
</p>
<div class="mr-2 flex items-center">
<div class="mr-2 h-4 w-4" v-html="reminder.contact.avatar" />
<avatar
:data="reminder.contact.avatar"
:classes="'h-4 w-4 mr-2 rounded-full ring-2 ring-white dark:ring-gray-900'" />

<inertia-link :href="reminder.contact.url.show" class="text-blue-500 hover:underline">
{{ reminder.contact.name }}
Expand All @@ -112,10 +114,12 @@

<script>
import Layout from '@/Shared/Layout.vue';
import Avatar from '@/Shared/Avatar.vue';
export default {
components: {
Layout,
Avatar,
},
props: {
Expand Down

0 comments on commit 3d9cc3b

Please sign in to comment.