User-Search in CreateChatComponent now displays the correct profile pictures

This commit is contained in:
joschuatonn
2024-05-29 11:56:02 +02:00
parent 52b72992ee
commit 3c3098f323

View File

@@ -11,7 +11,7 @@
<div v-for="user in usersForChat" style="background: #e0e0e0;border-radius: 10px;display: flex;padding: 3px;margin: 3px;">
<div
style="width: 30px; height: 30px; background-size: cover;background-position: center;border-radius: 100%;"
:style="{'background-image' : 'url('+user.profilePictureUrl+')'}"
:style="{'background-image' : 'url('+user.profilepicture+')'}"
></div>
<div class="text-body" style="margin: 3px 10px 0 10px;white-space: nowrap;">{{ user.firstName }} {{ user.lastName }}</div>
<q-btn round flat icon="close" style="font-size: 10px;" @click="handleClickEvent(user)"/>