Remove superfluous report existence checks
This commit is contained in:
parent
08033361f7
commit
19e95d066c
|
@ -1,4 +1,3 @@
|
||||||
- unless report.nil? || report.target.nil? || report.user.nil? || report.type.nil?
|
|
||||||
.card.moderationbox{ data: { id: report.id } }
|
.card.moderationbox{ data: { id: report.id } }
|
||||||
.card-header
|
.card-header
|
||||||
%img.avatar-sm{ src: report.user.profile_picture.url(:medium) }
|
%img.avatar-sm{ src: report.user.profile_picture.url(:medium) }
|
||||||
|
|
Loading…
Reference in New Issue