Permalink
Browse files

Step 13.17: Added view for picture message

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 3ce9b04 commit de4156c65ca67a06ded3e631206f5d95c5e4e11c
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 de4156c

Please sign in to comment.