diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-09-17 11:27:34 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-09-17 11:27:34 +0200 |
commit | 7431ba31e38aec002fb1fce4cc38abf17b07684b (patch) | |
tree | 372c1f11b88a2142bdcfae633bea2718059fc9c9 /src/components/layout | |
parent | cleanup settings store (diff) | |
download | ferdium-app-7431ba31e38aec002fb1fce4cc38abf17b07684b.tar.gz ferdium-app-7431ba31e38aec002fb1fce4cc38abf17b07684b.tar.zst ferdium-app-7431ba31e38aec002fb1fce4cc38abf17b07684b.zip |
fix(Todos): Highlight Franz Todos icon in sidebar when the Franz Todos panel is opened
Diffstat (limited to 'src/components/layout')
-rw-r--r-- | src/components/layout/Sidebar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index bac57d4dc..918298011 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js | |||
@@ -112,7 +112,7 @@ export default @observer class Sidebar extends Component { | |||
112 | this.updateToolTip(); | 112 | this.updateToolTip(); |
113 | gaEvent(GA_CATEGORY_TODOS, 'toggleDrawer', 'sidebar'); | 113 | gaEvent(GA_CATEGORY_TODOS, 'toggleDrawer', 'sidebar'); |
114 | }} | 114 | }} |
115 | className="sidebar__button sidebar__button--workspaces" | 115 | className={`sidebar__button sidebar__button--todos ${todosStore.isTodosPanelVisible ? 'is-active' : ''}`} |
116 | data-tip={`${intl.formatMessage(todosToggleMessage)} (${ctrlKey}+T)`} | 116 | data-tip={`${intl.formatMessage(todosToggleMessage)} (${ctrlKey}+T)`} |
117 | > | 117 | > |
118 | <i className="mdi mdi-check-all" /> | 118 | <i className="mdi mdi-check-all" /> |