Standardize avatar display across application
All checks were successful
Build And Push Image / docker (push) Successful in 2m6s

- Replace all hardcoded avatars with ProfileAvatar component
- Update admin and board layouts to use ProfileAvatar
- Update DuesActionCard and DuesOverdueBanner components
- Update admin users list to use ProfileAvatar
- Ensure consistent display of profile pictures with initials fallback
- All avatars now show either user's profile picture or initials

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-31 18:06:50 +02:00
parent bf75c51b32
commit 9d93f0ca84
15 changed files with 43 additions and 27 deletions

View File

@@ -81,10 +81,11 @@
>
<template v-slot:item.name="{ item }">
<div class="d-flex align-center py-2">
<v-avatar size="40" class="mr-3">
<v-icon v-if="!item.avatar">mdi-account-circle</v-icon>
<v-img v-else :src="item.avatar" />
</v-avatar>
<ProfileAvatar
:member-name="item.name"
size="small"
class="mr-3"
/>
<div>
<div class="font-weight-medium">{{ item.name }}</div>
<div class="text-caption text-medium-emphasis">{{ item.email }}</div>
@@ -250,6 +251,8 @@
</template>
<script setup lang="ts">
import ProfileAvatar from '~/components/ProfileAvatar.vue';
definePageMeta({
layout: 'admin',
middleware: 'admin'