mirror of
https://github.com/mossy1022/Smart-Connections-Visualizer.git
synced 2026-07-22 10:20:27 +00:00
Update environment variable access and add .gitignore
This commit is contained in:
parent
408a80fb06
commit
c6775888d4
3 changed files with 6 additions and 3 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
node_modules
|
||||
.env
|
||||
main.js
|
||||
2
main.ts
2
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; }
|
||||
|
||||
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue