MOBILE-2795 message: Fix avatar on discussion title
parent
f6732dbf22
commit
23e993fda0
|
@ -1,7 +1,7 @@
|
||||||
<ion-header>
|
<ion-header>
|
||||||
<ion-navbar core-back-button>
|
<ion-navbar core-back-button>
|
||||||
<ion-title>
|
<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-format-text [text]="title"></core-format-text>
|
||||||
<core-icon *ngIf="conversation && conversation.isfavourite" name="fa-star"></core-icon>
|
<core-icon *ngIf="conversation && conversation.isfavourite" name="fa-star"></core-icon>
|
||||||
</ion-title>
|
</ion-title>
|
||||||
|
|
|
@ -42,7 +42,7 @@ import * as moment from 'moment';
|
||||||
export class AddonMessagesDiscussionPage implements OnDestroy {
|
export class AddonMessagesDiscussionPage implements OnDestroy {
|
||||||
@ViewChild(Content) content: Content;
|
@ViewChild(Content) content: Content;
|
||||||
|
|
||||||
protected siteId: string;
|
siteId: string;
|
||||||
protected fetching: boolean;
|
protected fetching: boolean;
|
||||||
protected polling;
|
protected polling;
|
||||||
protected logger;
|
protected logger;
|
||||||
|
|
Loading…
Reference in New Issue