File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class SideBar extends React.Component {
2828 heightResizeable : PropTypes . bool ,
2929 icon : PropTypes . string ,
3030 id : PropTypes . string . isRequired ,
31- menuMargins : PropTypes . object ,
31+ mapMargins : PropTypes . object ,
3232 minWidth : PropTypes . string ,
3333 onHide : PropTypes . func ,
3434 onShow : PropTypes . func ,
@@ -92,9 +92,9 @@ class SideBar extends React.Component {
9292 } ;
9393 const isLeftSide = this . props . side === "left" ;
9494 if ( isLeftSide ) {
95- style . left = visible ? this . props . menuMargins . left : 0 ;
95+ style . left = visible ? this . props . mapMargins . left : 0 ;
9696 } else {
97- style . right = visible ? this . props . menuMargins . right : 0 ;
97+ style . right = visible ? this . props . mapMargins . right : 0 ;
9898 }
9999
100100 const classes = classnames ( {
@@ -171,7 +171,7 @@ class SideBar extends React.Component {
171171
172172export default connect ( ( state ) => ( {
173173 currentTask : state . task ,
174- menuMargins : state . windows . menuMargins ,
174+ mapMargins : state . windows . mapMargins ,
175175 windowMargins : state . windows . windowMargins
176176} ) , {
177177 setCurrentTask : setCurrentTask
You can’t perform that action at this time.
0 commit comments