fix: don't repeatedly render all children bullets of embed pages

Resolved #716
pull/719/head^2
Tienson Qin 2020-11-24 21:38:07 +08:00
parent 2565c3b08b
commit db652abe34
1 changed files with 3 additions and 1 deletions

View File

@ -326,7 +326,9 @@
[:p
[:code.mr-2 "Embed page:"]
(page-cp config {:page/name page-name})]
(blocks-container blocks (assoc config :embed? true))]))
(blocks-container blocks (assoc config
:embed? true
:ref? false))]))
(defn- get-label-text
[label]