akveo / akveo/nebular

Nb-Chat not showing user avatar

未关闭
#2,360 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。