mirror of
https://github.com/logseq/logseq.git
synced 2026-05-19 18:32:41 +00:00
fix(outliner): remove redundant db reference in set-block-property
This commit is contained in:
@@ -699,8 +699,7 @@
|
||||
{:outliner-op :set-block-property}
|
||||
(fn [conn]
|
||||
(throw-error-if-read-only-property property-id)
|
||||
(let [db @conn
|
||||
block-eid (->eid block-eid)
|
||||
(let [block-eid (->eid block-eid)
|
||||
_ (assert (qualified-keyword? property-id) "property-id should be a keyword")
|
||||
block (d/entity @conn block-eid)
|
||||
db-attribute? (some? (db-schema/schema property-id))
|
||||
|
||||
Reference in New Issue
Block a user