akveo / akveo/nebular

Nb-Chat not showing user avatar

Open
#2,360 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

I'm submitting a ...** (check one with "x")

* [ X] bug report
* [ ] feature request

**Current behavior:**
I can not get a user avatar to show. I also see the same behavior on the Nebular's own example website https://www.akveo.com/ngx-admin/pages/extra-components/chat

**Expected behavior:**
I expected to show an avatar for sender and receiver on the screen. Is this not true.

-->
Example from my own code.
```
this.messages.push({
text: event.message,
date: new Date(),
reply: true,
type: files.length ? 'file' : 'text',
files: files,
user: {
name: this.kmUser.displayName,
avatar: 'https://i.ytimg.com/vi/Erqi5ckVoEo/hqdefault.jpg',
},
});
```
Screen Shot 2020-05-12 at 8 28 28 AM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.