Removed the default profile picture from the ChatCardComponent
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {message, ptpTestUser} from 'src/models';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
chat: Object,
|
chat: Object,
|
||||||
@@ -10,7 +9,7 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="profileCard" :class="selected ? 'selected' : ''">
|
<div class="profileCard" :class="selected ? 'selected' : ''">
|
||||||
<div class="profilePicture" :style="{'background-image' : 'url(https://i.pinimg.com/736x/f2/6d/38/f26d38b9685a48e8a43481391f75471c.jpg)' }"></div>
|
<div class="profilePicture" :style="{'background-image' : 'url('+props.chat!.profilepictureAsString+')' }"></div>
|
||||||
<div style="margin-left:10px;">
|
<div style="margin-left:10px;">
|
||||||
<p style="margin-bottom: 0;line-height: 25px;vertical-align: middle;height: 25px;display: table-cell;">
|
<p style="margin-bottom: 0;line-height: 25px;vertical-align: middle;height: 25px;display: table-cell;">
|
||||||
<span style="font-weight: bold;font-size: 1.2rem;">{{props.chat!.displayName}}</span>
|
<span style="font-weight: bold;font-size: 1.2rem;">{{props.chat!.displayName}}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user