posts: fix recommended posts layout.

Fix recommended posts page to use new post gallery component.
This commit is contained in:
evazion
2021-12-05 03:19:30 -06:00
parent 40568a9843
commit 92906f7d39
2 changed files with 2 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ class PostPreviewComponent < ApplicationComponent
@link_target = link_target
@pool = pool
@similarity = similarity.round(1) if similarity.present?
@recommended = recommended.round(1) if recommended.present?
@recommended = recommended
@compact = compact
@show_size = show_size
@current_user = current_user