Skip to content

Commit

Permalink
Fix #33
Browse files Browse the repository at this point in the history
  • Loading branch information
salah3x committed Aug 4, 2019
1 parent 52be57d commit d16494f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/friends/friends.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
</ion-avatar>
<ion-label text-center>{{ friend.name }}</ion-label>
<ion-note
*ngIf="(friend.location?.date?.toDate() | timeAgo) !== 'now'"
*ngIf="
friend.location?.date &&
(friend.location?.date?.toDate() | timeAgo) !== 'now'
"
slot="end"
>{{ friend.location?.date?.toDate() | timeAgo }}</ion-note
>
Expand Down

0 comments on commit d16494f

Please sign in to comment.