feat(navigation): Fix vertical bar in navbar and change "side panel"

This commit is contained in:
Quincy Larson
2017-12-15 18:25:24 -06:00
committed by mrugesh mohapatra
parent 7a110aaf55
commit cda82d68fe
2 changed files with 7 additions and 3 deletions

View File

@ -217,7 +217,11 @@ export class FCCNav extends React.Component {
/> :
null
}
<li className='divider-vertical'/>
{ !shouldShowMapButton &&
<li
className='divider-vertical'
/>
}
{
navLinks.map(
this.renderLink.bind(this, true)

View File

@ -16,7 +16,7 @@ export const mapStateToPanes = addNS(
state => {
const panesMap = {
[types.toggleMap]: 'Map',
[types.toggleSidePanel]: 'Side Panel',
[types.toggleSidePanel]: 'Lesson',
[types.toggleClassicEditor]: 'Editor'
};
@ -29,7 +29,7 @@ export const mapStateToPanes = addNS(
const nameToComponent = {
Map: _Map,
'Side Panel': SidePanel,
'Lesson': SidePanel,
Editor: Editor,
Preview: Preview
};