Hide sections in navigation that are empty
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -20,7 +20,8 @@
|
|||||||
-
|
-
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<li :id="id" :title="text" :class="{'open': opened, 'collapsible': collapsible }">
|
<li v-if="boards.length > 0" :id="id" :title="text"
|
||||||
|
:class="{'open': opened, 'collapsible': collapsible }">
|
||||||
<button v-if="collapsible" class="collapse" @click.prevent.stop="toggleCollapse" />
|
<button v-if="collapsible" class="collapse" @click.prevent.stop="toggleCollapse" />
|
||||||
<a :class="icon" href="#">
|
<a :class="icon" href="#">
|
||||||
{{ text }}
|
{{ text }}
|
||||||
|
|||||||
Reference in New Issue
Block a user