diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 0f694d1..77d4cba 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -87,6 +87,9 @@ const onFind = async (e: Event) => {
     }
 
     if (!!json.columns && !!json.rows) {
+      if (!json.templates) {
+        json.templates = []
+      }
       appStore.currentInventory.data = json
       appStore.currentInventory.filePath = val
       router.push('/editor')