Skip to content
Snippets Groups Projects
Commit 2e71a32e authored by Timothee P's avatar Timothee P :sunflower:
Browse files

hide dropdown menu on desktop when no project selected

parent 0f119e52
No related branches found
No related tags found
1 merge request!47Evol/redmine ticket 11083 full responsive design
......@@ -14,6 +14,7 @@
</router-link>
<div
v-if="width <= 560 || (width > 560 && project)"
id="menu-dropdown"
:class="['ui dropdown item', { 'active visible': menuIsOpen }]"
@click="menuIsOpen = !menuIsOpen"
......@@ -178,6 +179,7 @@ export default {
menuIsOpen: false,
rightMenuIsOpen: true,
messages: null,
width: window.innerWidth > 0 ? window.innerWidth : screen.width,
};
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment