Fix list counter in the navigation counting archived lists
This commit is contained in:
parent
c051baf9d1
commit
5e67934bfe
1 changed files with 3 additions and 3 deletions
|
@ -73,14 +73,14 @@
|
||||||
<label
|
<label
|
||||||
:for="n.id + 'checker'"
|
:for="n.id + 'checker'"
|
||||||
class="menu-label"
|
class="menu-label"
|
||||||
v-tooltip="n.title + ' (' + n.lists.length + ')'">
|
v-tooltip="n.title + ' (' + n.lists.filter(l => !l.isArchived).length + ')'">
|
||||||
<span class="name">
|
<span class="name">
|
||||||
<span
|
<span
|
||||||
:style="{ backgroundColor: n.hexColor }"
|
:style="{ backgroundColor: n.hexColor }"
|
||||||
class="color-bubble"
|
class="color-bubble"
|
||||||
v-if="n.hexColor !== ''">
|
v-if="n.hexColor !== ''">
|
||||||
</span>
|
</span>
|
||||||
{{ n.title }} ({{ n.lists.length }})
|
{{ n.title }} ({{ n.lists.filter(l => !l.isArchived).length }})
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
</template>
|
</template>
|
||||||
</ul>
|
</ul>
|
||||||
<label :for="n.id + 'checker'" class="hidden-hint">
|
<label :for="n.id + 'checker'" class="hidden-hint">
|
||||||
Show hidden lists ({{ n.lists.length }})...
|
Show hidden lists ({{ n.lists.filter(l => !l.isArchived).length }})...
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue