Skip to content

Commit

Permalink
GCW-3605 fixed issue with general-messgaes last-message
Browse files Browse the repository at this point in the history
  • Loading branch information
swatijadhav committed Apr 27, 2021
1 parent 18c5fed commit f114572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/review_offer/items.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default Ember.Controller.extend({
"offer.messages.[]",
function() {
return this.get("offer.messages")
.filterBy("item", null)
.filter(m => !m.get("isCharityConversation"))
.sortBy("createdAt")
.get("lastObject");
Expand Down

0 comments on commit f114572

Please sign in to comment.