@@ -523,7 +523,6 @@ class NavApp extends React.Component {
return (
<Nav
limitIndent={false}
- toggleIconPosition={'left'}
defaultOpenKeys={['job']}
bodyStyle={{ height: 320 }}
items={[
@@ -525,7 +525,6 @@ class NavApp extends React.Component {
@@ -195,7 +195,7 @@ export default class NavItem extends BaseComponent<NavItemProps, NavItemState> {
itemChildren = children;
} else {
let placeholderIcons = null;
- if (mode === strings.MODE_VERTICAL && !limitIndent) {
+ if (mode === strings.MODE_VERTICAL && !limitIndent && !isCollapsed) {
const iconAmount = (icon && !indent) ? level : level - 1;
placeholderIcons = times(iconAmount, () => this.renderIcon(null, strings.ICON_POS_RIGHT, false));
}
@@ -237,7 +237,7 @@ export default class SubNav extends BaseComponent<SubNavProps, SubNavState> {
/* Different icons' amount means different indents.*/
placeholderIcons = times(iconAmount, index => this.renderIcon(null, strings.ICON_POS_RIGHT, false, undefined, index));