Fix searching artist commentaries by post ID

This commit is contained in:
BrokenEagle
2020-02-21 21:56:40 +00:00
parent 9c6ef424ef
commit 2dca001e12

View File

@@ -1,6 +1,6 @@
<div id="p-<%= listing_type(:post_id) %>-listing">
<% if listing_type(:post_id) == :revert %>
<% if listing_type(:post_id) == :revert && @commentary_versions.present? %>
<%= PostPresenter.preview(@commentary_versions.first.post, show_deleted: true) %>
<% end %>