mirror of https://github.com/logseq/logseq
fix: block back ref uuid
parent
30b254ab47
commit
4f2626e297
|
@ -180,7 +180,9 @@
|
|||
|
||||
(defn get-shape-refs [shape]
|
||||
(when (= "logseq-portal" (:type shape))
|
||||
[{:block/name (:pageId shape)}]))
|
||||
[(if (= (:blockType shape) "P")
|
||||
{:block/name (:pageId shape)}
|
||||
{:block/uuid (uuid (:pageId shape))})]))
|
||||
|
||||
(defn- with-whiteboard-block-refs
|
||||
[shape]
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
(defn ->logseq-portal-shape
|
||||
[block-id point]
|
||||
{:blockType "B"
|
||||
:id (d/squuid)
|
||||
:id (str (d/squuid))
|
||||
:pageId (str block-id)
|
||||
:point point
|
||||
:size [600, 400]
|
||||
|
|
Loading…
Reference in New Issue