Merge branch 'master' into feat/integration-plugins-core

This commit is contained in:
charlie
2021-06-08 10:21:44 +08:00
8 changed files with 27 additions and 19 deletions

View File

@@ -2821,7 +2821,8 @@
{:block b :level 2}
{:block e :level 2}]"
[{:keys [collapse?] :or {collapse? false}}]
(let [page (state/get-current-page)]
(when-let [page (or (state/get-current-page)
(date/today))]
(->>
(-> page
(db/get-page-blocks-no-cache)