Skip to content

Commit 0ab346c

Browse files
dotansimhadarkbasic
authored andcommitted
Step 13.38: Use the new pictureId field for new chat modal
1 parent 123b997 commit 0ab346c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/chats/new-chat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<ion-content class="new-chat">
2727
<ion-list class="users">
2828
<button ion-item *ngFor="let user of users | async" class="user" (click)="addChat(user)">
29-
<img class="user-picture" [src]="user.profile.picture">
29+
<img class="user-picture" [src]="getPic(user.profile.pictureId)">
3030
<h2 class="user-name">{{user.profile.name}}</h2>
3131
</button>
3232
</ion-list>

0 commit comments

Comments
 (0)