From 81124cde7b1838248c41f8fbfce83db9e935e5b4 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 10 May 2022 15:30:28 +1000
Subject: Add multiple header-color thresholds

Also add tips count in info modal
---
 src/components/TileInfoModal.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/components/TileInfoModal.vue')

diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index 275dd08..72515d3 100644
--- a/src/components/TileInfoModal.vue
+++ b/src/components/TileInfoModal.vue
@@ -79,7 +79,10 @@ export default defineComponent({
 		bg-stone-50 rounded-md shadow shadow-black">
 		<close-icon @click.stop="onCloseClick" ref="closeIcon"
 			class="block absolute top-2 right-2 w-6 h-6 hover:cursor-pointer"/>
-		<h1 class="text-center text-xl font-bold mb-2">{{displayName}}</h1>
+		<h1 class="text-center text-xl font-bold mb-2">
+			{{displayName}}
+			<div v-if="tolNode.children.length > 0">({{tolNode.children.length}} children)</div>
+		</h1>
 		<hr class="mb-4 border-stone-400"/>
 		<div class="flex">
 			<div>
-- 
cgit v1.2.3

