Skip to content

Commit

Permalink
EuiNavDrawer: Fix title text of dock/undock icon (elastic#2261)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos authored and thompsongl committed Sep 10, 2019
1 parent fe5a8e6 commit fd0dee3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Fixed `EuiSuperDatePicker` to update `asyncInterval.isStopped` on a `isPaused` prop change. ([#2250](https://github.com/elastic/eui/pull/2250))
- Converted table, popover, buttons, pagination, outside click detector, focus trap, context menu, and panel to TypeScript ([#2212](https://github.com/elastic/eui/pull/2212))
- Fixed `EuiStat` invalid DOM nesting due to a `<p>` tag nested within another `<p>` tag ([#2229](https://github.com/elastic/eui/pull/2229))
- Fixed title text of dock/undock icon in `EuiNavDrawer` ([#2229](https://github.com/elastic/eui/pull/2229))

**Reverts**

Expand Down
4 changes: 2 additions & 2 deletions src/components/nav_drawer/nav_drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ export class EuiNavDrawer extends Component {
iconSize: 's',
'aria-label': sideNavLockAriaLabel,
title: this.state.isLocked
? sideNavLockCollapsed
: sideNavLockExpanded,
? sideNavLockExpanded
: sideNavLockCollapsed,
'aria-checked': this.state.isLocked ? true : false,
role: 'switch',
}}
Expand Down

0 comments on commit fd0dee3

Please sign in to comment.