diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..711f335 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules +.env +main.js \ No newline at end of file diff --git a/main.ts b/main.ts index 99bc75a..3a9ab2a 100644 --- a/main.ts +++ b/main.ts @@ -326,7 +326,7 @@ class ScGraphItemView extends ItemView { return label.length > this.maxLabelCharacters ? label.slice(0, this.maxLabelCharacters) + '...' : label; } - get env() { return window.SmartSearch?.main?.env; } + get env() { return window.smart_env; } get smartNotes() { return window.SmartSearch?.main?.env?.smart_sources?.items; } diff --git a/package-lock.json b/package-lock.json index 1005ab7..709067f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "smart-connections-visualizer", - "version": "1.0.18", + "version": "1.0.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "smart-connections-visualizer", - "version": "1.0.18", + "version": "1.0.19", "license": "MIT", "dependencies": { "bootstrap": "^5.3.3",