From bf8de3d48cf84e89ff366908905576a5f430244d Mon Sep 17 00:00:00 2001 From: Zsolt Viczian Date: Sun, 8 May 2022 13:19:25 +0200 Subject: [PATCH] 0.0.8 --- manifest.json | 2 +- src/Scene.ts | 4 ++++ versions.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 0e54d2f..56d8b40 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "excalibrain", "name": "ExcaliBrain", - "version": "0.0.7", + "version": "0.0.8", "minAppVersion": "0.14.0", "description": "A clean, intuitive and editable graph view for Obsidian", "author": "Zsolt Viczian", diff --git a/src/Scene.ts b/src/Scene.ts index 55acc4d..a91091e 100644 --- a/src/Scene.ts +++ b/src/Scene.ts @@ -496,6 +496,10 @@ export class Scene { self.blockUpdateTimer = false; return; //don't reload the file if it has not changed } + + if(!self.plugin.pages.get(rootFile.path)) { + await self.plugin.createIndex(); + } this.addToHistory(rootFile.path); self.centralPagePath = rootFile.path; diff --git a/versions.json b/versions.json index 153d1e6..3b47caf 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,3 @@ { - "0.0.7": "0.14.0" + "0.0.8": "0.14.0" }