diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-27 14:44:45 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-01-27 14:54:47 +0300 |
commit | 5a8d0f7d4c560ebffd606a53faccc5db25fef9d2 (patch) | |
tree | 3297fbb3e1fcfd80cb1cdc73c20d6f88d48d7bc5 /src | |
parent | 1600387046ec79177d92f6cc1d56899a41d720a5 (diff) |
Always show h1 icon to keep menu small
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/MenuBar.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/MenuBar.vue b/src/components/MenuBar.vue index c3521c956..cbf3f35c8 100644 --- a/src/components/MenuBar.vue +++ b/src/components/MenuBar.vue @@ -32,7 +32,7 @@ :class="getIconClasses(isActive, icon)" @click="clickIcon(commands, icon)" /> <template v-else> - <div v-show="$index < iconCount" + <div v-show="$index < iconCount || !icon.class" :key="icon.label" v-click-outside="() => hideChildMenu(icon)" class="submenu"> @@ -53,14 +53,14 @@ @click="clickIcon(commands, icon)"> {{ icon.label }} </ActionButton> - <template v-else-if="!icon.class && isHiddenInMenu($index)"> + <!--<template v-else-if="!icon.class && isHiddenInMenu($index)"> <ActionButton v-for="childIcon in icon.children" :key="childIcon.class" :icon="childIcon.class" @click="clickIcon(commands, childIcon)"> {{ childIcon.label }} </ActionButton> - </template> + </template>--> </template> </Actions> </div> |