mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
fix: block-uuid on page-reference
This commit is contained in:
committed by
Tienson Qin
parent
fa6c5da6c6
commit
dbd53bd896
@@ -745,8 +745,9 @@
|
||||
(draw-component {:file file :block-uuid block-uuid}))))
|
||||
|
||||
(rum/defc page-reference < rum/reactive
|
||||
[html-export? s {:keys [nested-link? block-uuid id] :as config} label]
|
||||
[html-export? s {:keys [nested-link? id] :as config} label]
|
||||
(let [show-brackets? (state/show-brackets?)
|
||||
block-uuid (:block/uuid config)
|
||||
contents-page? (= "contents" (string/lower-case (str id)))]
|
||||
(if (string/ends-with? s ".excalidraw")
|
||||
[:div.draw {:on-click (fn [e]
|
||||
|
||||
Reference in New Issue
Block a user