From 0442b3c5c861c2096fb3d7f74fb77073660651f1 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 4 Mar 2022 01:34:30 +1100
Subject: Improve sweep-to-side layout

---
 src/App.vue | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index b1efd4b..26ae610 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -14,8 +14,9 @@ import TileTree from "./components/TileTree.vue";
 export default {
 	data() {
 		return {
-			//tree: tol.map(e => ({...e, children:[]})),
-			tree: tol,
+			//tree: {...tol, children:[]},
+			tree: {...tol, children:tol.children.map(e => ({...e, children:[]}))},
+			//tree: tol,
 			width: document.documentElement.clientWidth,
 			height: document.documentElement.clientHeight,
 		}
-- 
cgit v1.2.3

