Skip to content

Commit

Permalink
Step 13.18: Added view for picture message
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 1b774cc commit d1bd530
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/messages/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d1bd530

Please sign in to comment.