MOBILE-2795 message: Fix avatar on discussion title

main
Pau Ferrer Ocaña 2018-12-19 11:37:08 +01:00
parent f6732dbf22
commit 23e993fda0
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<ion-header>
<ion-navbar core-back-button>
<ion-title>
<img *ngIf="conversationImage" class="core-bar-button-image" [src]="conversationImage">
<img *ngIf="conversationImage" class="core-bar-button-image" [src]="conversationImage" alt="" onError="this.src='assets/img/user-avatar.png'" core-external-content role="presentation" [siteId]="siteId || null">
<core-format-text [text]="title"></core-format-text>
<core-icon *ngIf="conversation && conversation.isfavourite" name="fa-star"></core-icon>
</ion-title>

View File

@ -42,7 +42,7 @@ import * as moment from 'moment';
export class AddonMessagesDiscussionPage implements OnDestroy {
@ViewChild(Content) content: Content;
protected siteId: string;
siteId: string;
protected fetching: boolean;
protected polling;
protected logger;