mirror of
https://github.com/mossy1022/Smart-Connections-Visualizer.git
synced 2026-07-22 10:20:27 +00:00
refactor_window_interface_and_update_smart_notes_access
This commit is contained in:
parent
904840d27c
commit
2f4936e488
1 changed files with 2 additions and 2 deletions
4
main.ts
4
main.ts
|
|
@ -53,7 +53,7 @@ interface PluginSettings {
|
|||
|
||||
declare global {
|
||||
interface Window {
|
||||
SmartSearch: any;
|
||||
smart_env: any;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -328,7 +328,7 @@ class ScGraphItemView extends ItemView {
|
|||
|
||||
//@ts-ignore
|
||||
get env() { return window.smart_env; }
|
||||
get smartNotes() { return window.SmartSearch?.main?.env?.smart_sources?.items; }
|
||||
get smartNotes() { return window.smart_env?.smart_sources?.items; }
|
||||
|
||||
|
||||
async onOpen() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue