5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 18:36:23 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-18 19:55:56 +00:00
commit 781cb39f25
2 changed files with 3 additions and 0 deletions

View file

@ -12,5 +12,6 @@
- if actor_moderations.count.zero? - if actor_moderations.count.zero?
%h4= t('moderation_queue.nothing') %h4= t('moderation_queue.nothing')
- actor_moderations.find_each do |actor_moderation| - actor_moderations.find_each do |actor_moderation|
- next if actor_moderation.actor.content.empty?
%hr %hr
= render 'account', actor_moderation: actor_moderation, profile: actor_moderation.actor.content, form: form_id = render 'account', actor_moderation: actor_moderation, profile: actor_moderation.actor.content, form: form_id

View file

@ -12,5 +12,7 @@
- if moderation_queue.count.zero? - if moderation_queue.count.zero?
%h4= t('moderation_queue.nothing') %h4= t('moderation_queue.nothing')
- moderation_queue.each do |activity_pub| - moderation_queue.each do |activity_pub|
- next if activity_pub.object.content.empty?
- next if activity_pub.actor.content.empty?
%hr %hr
= render 'moderation_queue/comment', comment: activity_pub.object.content, profile: activity_pub.actor.content, activity_pub: activity_pub, form: form_id, site: site, object: activity_pub.object = render 'moderation_queue/comment', comment: activity_pub.object.content, profile: activity_pub.actor.content, activity_pub: activity_pub, form: form_id, site: site, object: activity_pub.object