Fix archived lists still showing up in the side menu
This commit is contained in:
parent
dc2ac0cd3d
commit
42500da8a9
1 changed files with 17 additions and 13 deletions
|
@ -191,7 +191,10 @@
|
|||
class="checkinput"/>
|
||||
<div class="more-container" :key="n.id + 'child'">
|
||||
<ul class="menu-list can-be-hidden">
|
||||
<li v-for="l in n.lists" :key="l.id">
|
||||
<template v-for="l in n.lists">
|
||||
<!-- This is a bit ugly but vue wouldn't want to let me filter this - probably because the lists
|
||||
are nested inside of the namespaces makes it a lot harder.-->
|
||||
<li v-if="!l.isArchived" :key="l.id">
|
||||
<router-link
|
||||
:to="{ name: 'list.index', params: { listId: l.id} }"
|
||||
:class="{'router-link-exact-active': currentList.id === l.id}">
|
||||
|
@ -205,6 +208,7 @@
|
|||
</span>
|
||||
</router-link>
|
||||
</li>
|
||||
</template>
|
||||
</ul>
|
||||
<label class="hidden-hint" :for="n.id + 'checker'">
|
||||
Show hidden lists ({{n.lists.length}})...
|
||||
|
|
Loading…
Reference in a new issue