Permalink
Browse files

Step 13.18: Added view for picture message

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 860bf9c commit 56515213f009780874a910f9d166869b0f6caca6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/pages/messages/messages.html
@@ -24,6 +24,7 @@
<agm-marker [latitude]="getLocation(message.content).lat" [longitude]="getLocation(message.content).lng"></agm-marker>
</agm-map>
</div>
<img *ngIf="message.type == 'picture'" (click)="showPicture($event)" class="message-content message-content-picture" [src]="message.content">
<span class="message-timestamp">{{ message.createdAt | amDateFormat: 'HH:mm' }}</span>
</div>

0 comments on commit 5651521

Please sign in to comment.