From f23403808970707cda9e14f6ae699760a67d12ea Mon Sep 17 00:00:00 2001 From: fsociety Date: Fri, 25 Oct 2024 12:15:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20feat(association):=20enhance=20c?= =?UTF-8?q?ondition=20to=20display=20button=20based=20on=20currentPleb=20a?= =?UTF-8?q?nd=20board=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/pages/association/project-support/index.blade.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/views/pages/association/project-support/index.blade.php b/resources/views/pages/association/project-support/index.blade.php index 01f713b..679bfe4 100644 --- a/resources/views/pages/association/project-support/index.blade.php +++ b/resources/views/pages/association/project-support/index.blade.php @@ -180,7 +180,10 @@ $delete = function ($id) { @endif
- @if($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id) + @if( + ($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id) + || ($currentPleb && in_array(config('einundzwanzig.config.current_board'), $currentPleb->npub, true)) + )