diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-08-16 19:09:53 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-08-16 19:09:53 +0200 |
commit | bd31703d8627d3c8e046d62223a08d295f0e9578 (patch) | |
tree | 4aa1dcacae871734170b77e51adb16f87b235792 /org-roam-ui.el | |
parent | f6f68f67080bfe3c7dda641e2576ab37e6e58b8f (diff) |
fix: #67, correctly skip non-node headlines
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r-- | org-roam-ui.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el index 87bd92d..98cf5a6 100644 --- a/org-roam-ui.el +++ b/org-roam-ui.el @@ -279,12 +279,12 @@ unchanged." (defun org-roam-ui--create-fake-node (ref) "Create a fake node for REF without a source note." - (list ref ref (org-roam-ui--find-ref-title ref) 0 0 `(("ROAM_REFS" . ,(format "cite:%s" ref)) ("FILELESS" . t)) 'nil)) + (list ref ref (org-roam-ui--find-ref-title ref) 0 0 'nil `(("ROAM_REFS" . ,(format "cite:%s" ref)) ("FILELESS" . t)) 'nil)) (defun org-roam-ui--send-graphdata () "Get roam data, make JSON, send through websocket to org-roam-ui." - (let* ((nodes-columns [id file title level pos properties ,(funcall group-concat tag (emacsql-escape-raw \, ))]) - (nodes-names [id file title level pos properties tags]) + (let* ((nodes-columns [id file title level pos olp properties ,(funcall group-concat tag (emacsql-escape-raw \, ))]) + (nodes-names [id file title level pos olp properties tags]) (links-columns [links:source links:dest links:type refs:node-id]) (nodes-db-rows (org-roam-db-query `[:select ,nodes-columns :as tags :from nodes |