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

fix: fix avatar not showing on reminder list #229

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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