Skip to content

Commit 7431ba3

Browse files
committed
fix(Todos): Highlight Franz Todos icon in sidebar when the Franz Todos panel is opened
1 parent 9d255d9 commit 7431ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/layout/Sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default @observer class Sidebar extends Component {
112112
this.updateToolTip();
113113
gaEvent(GA_CATEGORY_TODOS, 'toggleDrawer', 'sidebar');
114114
}}
115-
className="sidebar__button sidebar__button--workspaces"
115+
className={`sidebar__button sidebar__button--todos ${todosStore.isTodosPanelVisible ? 'is-active' : ''}`}
116116
data-tip={`${intl.formatMessage(todosToggleMessage)} (${ctrlKey}+T)`}
117117
>
118118
<i className="mdi mdi-check-all" />

0 commit comments

Comments
 (0)