From 4b8db9e28bd11399ad29ea1890cf0c10732cc297 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Sat, 25 Jun 2022 12:28:47 +0200 Subject: [PATCH] Do not douple check project permssions for project macro --- app/views/wiki/_project_macros.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/wiki/_project_macros.html.slim b/app/views/wiki/_project_macros.html.slim index 7a8e6ca5..0218a113 100644 --- a/app/views/wiki/_project_macros.html.slim +++ b/app/views/wiki/_project_macros.html.slim @@ -8,7 +8,7 @@ td.name span[style='font-weight: bold;'] - if AdditionalsPlugin.active_reporting? - = project_name_with_icon project + = project_name_with_icon project, permission: true - else = link_to_project project - if project.homepage?