feat(navigation): Fix vertical bar in navbar and change "side panel"
This commit is contained in:
committed by
mrugesh mohapatra
parent
7a110aaf55
commit
cda82d68fe
@ -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)
|
||||
|
@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user