Handle Missing Root Comment in Deleted Comment View (#5716)
This commit is contained in:
parent
d81f407394
commit
ebf43209a5
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<h3>Comment from a deleted article or podcast</h3>
|
||||
<div class="single-comment-node root">
|
||||
<% @user ||= @root_comment.user %>
|
||||
<% if @root_comment.deleted %>
|
||||
<% if @root_comment.blank? || @root_comment.deleted %>
|
||||
<div class="inner-comment">
|
||||
<div class="body">
|
||||
[deleted]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue