fix: loading in page embed

pull/4750/head
Tienson Qin 2022-03-28 21:08:20 +08:00
parent b6e02e18b1
commit 94a6d5eef2
1 changed files with 1 additions and 0 deletions

View File

@ -611,6 +611,7 @@
(let [page (model/get-page page-name)
blocks (db/get-paginated-blocks (state/get-current-repo) (:db/id page))]
(blocks-container blocks (assoc config
:db/id (:db/id page)
:id page-name
:embed? true
:page-embed? true