mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
fix: Collapse all collapses the whole zoomed in hierarchy
Instead of just below the clicked bullet. Related to https://github.com/logseq/logseq/issues/3734#issuecomment-1005003877
This commit is contained in:
@@ -3335,7 +3335,7 @@
|
||||
(when-let [page (or (state/get-current-page)
|
||||
(date/today))]
|
||||
(let [block? (util/uuid-string? page)
|
||||
block-id (or (and block? (uuid page)) root-block)
|
||||
block-id (or root-block (and block? (uuid page)))
|
||||
blocks (if block-id
|
||||
(db/get-block-and-children (state/get-current-repo) block-id)
|
||||
(db/get-page-blocks-no-cache page))
|
||||
|
||||
Reference in New Issue
Block a user