mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: incorrect validation message
Also bring back docstring that shouldn't have been removed
This commit is contained in:
@@ -205,7 +205,7 @@
|
||||
{:error/message "should be a URL"}
|
||||
url-entity?]
|
||||
:node [:fn
|
||||
{:error/message "should be a page/block with tags"}
|
||||
{:error/message "should be a node with a title"}
|
||||
node-entity?]}
|
||||
internal-validation-schemas))
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
doesn't handle updating DB graphs well yet e.g. doesn't handle :block/tx-id"
|
||||
[conn tx-report]
|
||||
(when-not (:pipeline-replace? (:tx-meta tx-report))
|
||||
;; TODO: Handle block edits with separate :block/refs rebuild as deleting property values is buggy
|
||||
(outliner-pipeline/transact-new-db-graph-refs conn tx-report)))
|
||||
|
||||
(defn ^:api add-listener
|
||||
|
||||
Reference in New Issue
Block a user