Commit c39030da authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

added dynamic header according to login status

parent d344e37f
Pipeline #102 passed with stage
in 5 seconds
...@@ -79,7 +79,7 @@ function head(){ ...@@ -79,7 +79,7 @@ function head(){
let combolink = document.createElement('a'); let combolink = document.createElement('a');
combolink.classList.add("dropdown-item"); combolink.classList.add("dropdown-item");
if(menu[j].combos[k].name == "Projekte" && userAuthenticated()){ if(menu[j].combos[k].name == "Projekte" && userAuthenticated()){
combolink.href = menu[j].combos[k].link + "?isAuthenticatedUser=true; combolink.href = menu[j].combos[k].link + "?isAuthenticatedUser=true";
}else{ }else{
combolink.href = menu[j].combos[k].link; combolink.href = menu[j].combos[k].link;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment