mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 02:46:21 +00:00
feat: avisar cuando no se encontró nada
This commit is contained in:
parent
2edafc8901
commit
0539eb8f22
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue