Commit 7b83a69e authored by Kushal Pandya's avatar Kushal Pandya

Fix labels keyboard shortcut for when right sidebar is collapsed

parent 3eff43a0
......@@ -40,6 +40,18 @@ export default {
};
},
},
mounted() {
document.addEventListener(
'toggleSidebarRevealLabelsDropdown',
this.toggleSidebarRevealLabelsDropdown,
);
},
beforeDestroy() {
document.removeEventListener(
'toggleSidebarRevealLabelsDropdown',
this.toggleSidebarRevealLabelsDropdown,
);
},
methods: {
...mapActions(['toggleSidebar']),
toggleSidebarRevealLabelsDropdown() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment