Skip to content

Commit 2503775

Browse files
committed
Remove redundant pictureUrl fallback in GroupAddMemberDialog
1 parent c05c639 commit 2503775

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

frontend/src/components/authority/GroupAddMemberDialog.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
<li v-for="member in sortedNewMembers" :key="member.id" class="flex flex-col py-2 border-b border-gray-200 border-l-4 border-transparent mx-1 last:border-b-0 transform transition">
2424
<div class="flex items-center justify-between">
2525
<div class="flex items-center w-full" :title="member.name">
26-
<div class="w-8 h-8 rounded-full border border-gray-300 bg-white flex items-center justify-center overflow-hidden">
27-
<img v-if="member.pictureUrl" :src="member.pictureUrl" class="w-full h-full object-cover" alt="user icon" />
28-
<UserIcon v-else class="w-5 h-5 text-gray-400" aria-hidden="true" />
29-
</div>
26+
<img :src="member.pictureUrl" class="w-8 h-8 rounded-full border border-gray-300 object-cover" alt="user icon" />
3027
<p class="ml-4 text-sm font-medium truncate">
3128
{{ member.name }}
3229
</p>
@@ -58,7 +55,6 @@
5855

5956
<script setup lang="ts">
6057
import { Dialog, DialogOverlay, DialogPanel, DialogTitle, TransitionChild, TransitionRoot } from '@headlessui/vue';
61-
import { UserIcon } from '@heroicons/vue/24/outline';
6258
import { ref, computed } from 'vue';
6359
import { useI18n } from 'vue-i18n';
6460
import SearchInputGroup from '../SearchInputGroup.vue';

0 commit comments

Comments
 (0)