From 04d3e050ab091169ae806e099030e7ed4c33f738 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Thu, 29 Feb 2024 00:01:01 +0100 Subject: [PATCH] Show actions to moderators on banned profiles --- app/views/user/_profile.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user/_profile.html.haml b/app/views/user/_profile.html.haml index 705d85a9..bd40d9f4 100644 --- a/app/views/user/_profile.html.haml +++ b/app/views/user/_profile.html.haml @@ -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