From 0d3eda30c79e6c79ff1a82f5b8104602d03b8b0c Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 13 May 2022 00:08:16 +1000
Subject: Fix inaccurate tile-info data when using reduced tree

---
 src/components/TileInfoModal.vue | 1 +
 1 file changed, 1 insertion(+)

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

diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index 4b904b2..6cb0f18 100644
--- a/src/components/TileInfoModal.vue
+++ b/src/components/TileInfoModal.vue
@@ -54,6 +54,7 @@ export default defineComponent({
 		let url = new URL(window.location.href);
 		url.pathname = '/data/info';
 		url.search = '?name=' + encodeURIComponent(this.nodeName);
+		url.search += this.uiOpts.useReducedTree ? '&tree=reduced' : '';
 		fetch(url.toString())
 			.then(response => response.json())
 			.then(obj => {
-- 
cgit v1.2.3

