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
1 changed files with 1 additions and 1 deletions

View File

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