Show actions to moderators on banned profiles

This commit is contained in:
Andreas Nedbal 2024-02-29 00:01:01 +01:00 committed by Andreas Nedbal
parent 1914c56b05
commit 04d3e050ab

View file

@ -37,5 +37,5 @@
.profile__location .profile__location
%i.fa.fa-fw.fa-location-arrow %i.fa.fa-fw.fa-location-arrow
= user.profile.location = user.profile.location
- unless user.banned? - unless user.banned? && !current_user&.mod?
= render "user/actions", user: user, type: :follower = render "user/actions", user: user, type: :follower