fix: docs graph fails to import with both property*

options enabled
This commit is contained in:
Gabriel Horner
2024-11-20 10:39:21 -05:00
parent b83d8fda55
commit 484648b986
2 changed files with 8 additions and 4 deletions

View File

@@ -715,7 +715,7 @@
;; that aren't conrolled by :classes-tx
(cond-> block
(seq parent-classes-from-properties)
(merge (find-or-create-class db (:block/title block) (:all-idents import-state) block))
(merge (find-or-create-class db ((some-fn ::original-title :block/title) block) (:all-idents import-state) block))
(seq parent-classes-from-properties)
(assoc :logseq.property/parent
(let [new-class (first parent-classes-from-properties)