|
|
@@ -570,8 +570,8 @@ so need to pull earlier remote-data from websocket."})
|
|
|
(when-not (or
|
|
|
;; property or class exists
|
|
|
(and db-ident (d/entity @conn db-ident))
|
|
|
- ;; node with the same block/uuid exists
|
|
|
- (d/entity @conn [:block/uuid self]))
|
|
|
+ ;; journal with the same block/uuid exists
|
|
|
+ (ldb/journal? (d/entity @conn [:block/uuid self])))
|
|
|
(let [create-opts {:uuid self
|
|
|
:old-db-id (@worker-state/*deleted-block-uuid->db-id self)}
|
|
|
[_ page-name page-uuid] (worker-page/rtc-create-page! conn config
|