mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 14:39:48 +00:00
fix: wrong argument
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
(let [properties (:block/properties block)
|
||||
type (pu/lookup properties :logseq.order-list-type)]
|
||||
(= type order-list-type)))
|
||||
prev-block-fn #(some->> (:db/id %) (db-model/get-prev-sibling (state/get-current-repo)))
|
||||
prev-block-fn #(some->> (:db/id %) (db-model/get-prev-sibling (db/get-db)))
|
||||
prev-block (prev-block-fn block)]
|
||||
(letfn [(page-fn? [b] (some-> b :block/name some?))
|
||||
(order-sibling-list [b]
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
(ldb/register-transact-fn!
|
||||
(fn worker-transact!
|
||||
[_conn tx-data tx-meta]
|
||||
(prn :debug :transact :tx-meta tx-meta :tx-data tx-data)
|
||||
(transact! wrapped-worker (state/get-current-repo) tx-data
|
||||
;; not from remote(rtc)
|
||||
(assoc tx-meta :local-tx? true)))))
|
||||
|
||||
Reference in New Issue
Block a user