mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
fix: block ref numbers not updated unless re-indexed
Close #1673 Also, fixed an issue that update the block in references doesn't work
This commit is contained in:
@@ -2275,7 +2275,8 @@
|
||||
(cond-> option
|
||||
(:document/mode? config)
|
||||
(assoc :class "doc-mode"))
|
||||
(if (:group-by-page? config)
|
||||
(if (and (:group-by-page? config)
|
||||
(vector? (first blocks)))
|
||||
[:div.flex.flex-col
|
||||
(let [blocks (sort-by (comp :block/journal-day first) > blocks)]
|
||||
(for [[page blocks] blocks]
|
||||
|
||||
Reference in New Issue
Block a user