Skip to content
Snippets Groups Projects
Commit 9b80b9f9 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

made sidebar conditional

parent 043781b1
No related branches found
No related tags found
No related merge requests found
Pipeline #387856 failed
......@@ -73,12 +73,15 @@ function Sidebar(){
content.push(<SideItem key={item} hesh={item} num={ind}></SideItem>);
}
if(nums.length > 1)
return (
<nav className="sidebar">
{content}
</nav>
)
return(
<div></div>
)
}
......
......@@ -155,7 +155,7 @@ const Pages: (Page | Folder)[] = [
path: "/bfh",
component: Bfh,
lead: "MeetUp",
navlist: ["Opening", "Scientific Talk I.", "Workshop Session I.", "Scientific Talk II.", "Project Presentations", "Poster Exhibition", "Workshop Session II.", "Panel Discussion", "iGEMer Ted Talks", "Science Slams", "Award Ceremony"],
navlist: [],
},
{
name: "Wiki",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment