Skip to content

Commit

Permalink
fix(Todos): Highlight Franz Todos icon in sidebar when the Franz Todo…
Browse files Browse the repository at this point in the history
…s panel is opened
  • Loading branch information
adlk committed Sep 17, 2019
1 parent 9d255d9 commit 7431ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default @observer class Sidebar extends Component {
this.updateToolTip();
gaEvent(GA_CATEGORY_TODOS, 'toggleDrawer', 'sidebar');
}}
className="sidebar__button sidebar__button--workspaces"
className={`sidebar__button sidebar__button--todos ${todosStore.isTodosPanelVisible ? 'is-active' : ''}`}
data-tip={`${intl.formatMessage(todosToggleMessage)} (${ctrlKey}+T)`}
>
<i className="mdi mdi-check-all" />
Expand Down

0 comments on commit 7431ba3

Please sign in to comment.