Skip to content

Commit

Permalink
FIX: Support case for when original message is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
jakerenzella committed Feb 12, 2020
1 parent 63cfea8 commit 7d1b53f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<a ng-click="scrollToComment(comment.original_comment.id)" class="original-comment" ng-if="!!comment.reply_to">
<p class="reply-text">
<i class="fa fa-reply"></i>
{{comment.original_comment.comment}}
{{comment.original_comment ? comment.original_comment.comment : 'comment removed'}}
</p>
</a>
<div ng-switch-when="extension" class="comment-extension">
Expand Down

0 comments on commit 7d1b53f

Please sign in to comment.