mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
fix: when searching for text which is in a collapsed block, it is not opened
close #4017
This commit is contained in:
@@ -3492,7 +3492,7 @@
|
||||
:skip-transact? false}
|
||||
(doseq [block-id block-ids]
|
||||
(when-let [block (db/entity [:block/uuid block-id])]
|
||||
(let [current-value (boolean (util/collapsed? block))]
|
||||
(let [current-value (:block/collapsed? block)]
|
||||
(when-not (= current-value value)
|
||||
(let [block (outliner-core/block {:block/uuid block-id
|
||||
:block/collapsed? value})]
|
||||
|
||||
Reference in New Issue
Block a user