fix: slides and aliased page navigation for db version

Update a few fixmes for properties.
Also add built-in prop which we've documented for slides.
Also show hide for built-ins properties as built-ins also use it
This commit is contained in:
Gabriel Horner
2023-09-25 15:29:24 -04:00
parent 5f3ffa7cdc
commit 4d819ac1b3
5 changed files with 29 additions and 19 deletions

View File

@@ -228,6 +228,7 @@
(let [id (:block/uuid block)
page (db-utils/pull (:db/id (:block/page block)))
page-name (:block/original-name page)
;; FIXME: file-path property for db version
file-path (:file-path (:block/properties page))
hl-page (pu/get-property block :hl-page)]
(when-let [target-key (and page-name (subs page-name 5))]