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
|
null
|
||||||
}
|
}
|
||||||
<li className='divider-vertical'/>
|
{ !shouldShowMapButton &&
|
||||||
|
<li
|
||||||
|
className='divider-vertical'
|
||||||
|
/>
|
||||||
|
}
|
||||||
{
|
{
|
||||||
navLinks.map(
|
navLinks.map(
|
||||||
this.renderLink.bind(this, true)
|
this.renderLink.bind(this, true)
|
||||||
|
@ -16,7 +16,7 @@ export const mapStateToPanes = addNS(
|
|||||||
state => {
|
state => {
|
||||||
const panesMap = {
|
const panesMap = {
|
||||||
[types.toggleMap]: 'Map',
|
[types.toggleMap]: 'Map',
|
||||||
[types.toggleSidePanel]: 'Side Panel',
|
[types.toggleSidePanel]: 'Lesson',
|
||||||
[types.toggleClassicEditor]: 'Editor'
|
[types.toggleClassicEditor]: 'Editor'
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ export const mapStateToPanes = addNS(
|
|||||||
|
|
||||||
const nameToComponent = {
|
const nameToComponent = {
|
||||||
Map: _Map,
|
Map: _Map,
|
||||||
'Side Panel': SidePanel,
|
'Lesson': SidePanel,
|
||||||
Editor: Editor,
|
Editor: Editor,
|
||||||
Preview: Preview
|
Preview: Preview
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user