fix bug in conversations view causing server error
This commit is contained in:
parent
78d712b926
commit
2e50a16567
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@
|
||||||
.media
|
.media
|
||||||
.img
|
.img
|
||||||
- other_participants = ordered_participants[conversation.id] - [current_user.person]
|
- other_participants = ordered_participants[conversation.id] - [current_user.person]
|
||||||
= person_image_tag(other_participants.first)
|
- if other_participants.first.present?
|
||||||
|
= person_image_tag(other_participants.first)
|
||||||
|
|
||||||
.bg
|
.bg
|
||||||
.badge.badge-dafault.message_count
|
.badge.badge-dafault.message_count
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue