Skip to content

Commit

Permalink
Step 13.38: Use the new pictureId field for new chat modal
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 123b997 commit 0ab346c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/chats/new-chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<ion-content class="new-chat">
<ion-list class="users">
<button ion-item *ngFor="let user of users | async" class="user" (click)="addChat(user)">
<img class="user-picture" [src]="user.profile.picture">
<img class="user-picture" [src]="getPic(user.profile.pictureId)">
<h2 class="user-name">{{user.profile.name}}</h2>
</button>
</ion-list>
Expand Down

0 comments on commit 0ab346c

Please sign in to comment.