enhance: frontend consistently uses :db/ident

for fetching built-in properties instead of :block/name
This commit is contained in:
Gabriel Horner
2024-03-27 20:35:11 -04:00
parent eecb510ccb
commit 9c5309da47
29 changed files with 101 additions and 96 deletions

View File

@@ -237,7 +237,7 @@
page-name (:block/original-name page)
;; FIXME: file-path property for db version
file-path (:file-path (:block/properties page))
hl-page (pu/get-block-property-value block :hl-page)]
hl-page (pu/get-block-property-value block :logseq.property/hl-page)]
(when-let [target-key (and page-name (subs page-name 5))]
(p/let [hls (resolve-hls-data-by-key$ target-key)
hls (and hls (:highlights hls))]