summaryrefslogtreecommitdiff
path: root/app/Helper/LayoutHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper/LayoutHelper.php')
-rw-r--r--app/Helper/LayoutHelper.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Helper/LayoutHelper.php b/app/Helper/LayoutHelper.php
index 8be71757..91745f58 100644
--- a/app/Helper/LayoutHelper.php
+++ b/app/Helper/LayoutHelper.php
@@ -31,6 +31,10 @@ class LayoutHelper extends Base
if (! isset($params['no_layout']) && ! isset($params['board_selector'])) {
$params['board_selector'] = $this->projectUserRoleModel->getActiveProjectsByUser($this->userSession->getId());
+
+ if (isset($params['project']['id'])) {
+ unset($params['board_selector'][$params['project']['id']]);
+ }
}
return $this->pageLayout($template, $params);