Skip to content
Snippets Groups Projects
Commit 2f5fc7c7 authored by Axel Hahn's avatar Axel Hahn
Browse files

fix first install: hide projects

parent ec9f704e
No related branches found
No related tags found
1 merge request!62V2.0
...@@ -239,11 +239,13 @@ function getTopNavLeft($aEmbed=[]) { ...@@ -239,11 +239,13 @@ function getTopNavLeft($aEmbed=[]) {
['href'=>$sBaseUrl . 'all/setup/', 'label'=>t("menu-settings"), 'icon'=>'fa-solid fa-gear'], ['href'=>$sBaseUrl . 'all/setup/', 'label'=>t("menu-settings"), 'icon'=>'fa-solid fa-gear'],
] ]
]; ];
$aReturn[]=[ if(count($aPrjItems)){
$aReturn[]=[
'href'=>'#','label'=>t("menu-projects"), 'icon'=>'fa-solid fa-box-open', 'href'=>'#','label'=>t("menu-projects"), 'icon'=>'fa-solid fa-box-open',
'children'=>$aPrjItems 'children'=>$aPrjItems
] ]
; ;
}
if ($sCurrentProject){ if ($sCurrentProject){
$oPrj = new project($aParams["prj"]); $oPrj = new project($aParams["prj"]);
$aPrjChildren=[ $aPrjChildren=[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment