5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 23:46:22 +00:00

feat: avisar cuando no se encontró nada

This commit is contained in:
f 2024-02-28 18:51:41 -03:00
parent 2edafc8901
commit 0539eb8f22
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,8 @@
-# Filtros
= render 'components/profiles_filters', actor_moderations: actor_moderations
.col-12
- if actor_moderations.count.zero?
%h4= t('moderation_queue.nothing')
- actor_moderations.find_each do |actor_moderation|
%hr
= render 'account', actor_moderation: actor_moderation, profile: actor_moderation.actor.content

View file

@ -9,7 +9,7 @@
.col-12
- if instance_moderations.count.zero?
%h3= t('moderation_queue.nothing')
%h4= t('moderation_queue.nothing')
- instance_moderations.each do |instance_moderation|
- cache [instance_moderation.aasm_state, instance_moderation.instance] do