ctucx.git: ctucx.things

simple inventory management web-app

commit 71e9e3b4feb9f691bd2670086c69ad2cb862eeb4
parent 54e89882e658a3427f41101ad4efdb910db99539
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 15 May 2023 19:59:55 +0200

editor: add things and list count
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/libraryItems.vue b/src/components/libraryItems.vue
@@ -115,7 +115,7 @@
 
 <template>
 	<section id="libraryContainer">
-		<h2>Gear</h2>
+		<h2>Things <small>({{ filteredItems.length }})</small></h2>
 
 		<div id="librarySearch">
 			<input v-model="searchText" type="text" placeholder="search items"/>
diff --git a/src/components/libraryLists.vue b/src/components/libraryLists.vue
@@ -90,7 +90,7 @@
 <template>
 	<section id="listContainer">
 		<div class="listContainerHeader">
-			<h2>Lists</h2>
+			<h2>Lists <small>({{ library.lists.length }})</small></h2>
 			<PopoverHover id="addListFlyout">
 				<span slot="target"><a class="lpAdd" @click="newList"><i class="lpSprite lpSpriteAdd" />Add new list</a></span>
 				<div slot="content">