mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
fix: a.toLowerCase is not a function when expand/collapse
This commit is contained in:
@@ -2818,7 +2818,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)
|
||||
|
||||
Reference in New Issue
Block a user