mirror of https://github.com/logseq/logseq
fix: react keys
parent
e4c0e8e07c
commit
7c061e4605
|
@ -229,7 +229,9 @@
|
||||||
(util/concat-without-nil
|
(util/concat-without-nil
|
||||||
(mapcat
|
(mapcat
|
||||||
(fn [block]
|
(fn [block]
|
||||||
(when-let [page-id (:db/id (:block/page block))]
|
(when-let [page-id (or (:db/id (:block/page block))
|
||||||
|
(and (int? (:block/page block))
|
||||||
|
(:block/page block)))]
|
||||||
[[:blocks (:block/uuid block)]
|
[[:blocks (:block/uuid block)]
|
||||||
[:page/blocks page-id]
|
[:page/blocks page-id]
|
||||||
[:page/ref-pages page-id]]))
|
[:page/ref-pages page-id]]))
|
||||||
|
|
Loading…
Reference in New Issue