mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 13:14:39 +00:00
fix: numbered list not created in a child block
A new block in this repro consistently returns :block/properties '()
which results in the bug. Fixes
https://test.logseq.com/#/page/68307c18-f9fb-4049-9efb-944cdff4226d.
This is similar to d08acfc3ba
This commit is contained in:
@@ -34,9 +34,10 @@
|
||||
(when-let [block (db/entity [:block/uuid block-id])]
|
||||
(let [format (get block :block/format :markdown)
|
||||
content (:block/title block)
|
||||
properties (:block/properties block)
|
||||
;; FIXME: Remove not-empty if :block/properties stops returning '()
|
||||
properties* (not-empty (:block/properties block))
|
||||
properties-text-values (:block/properties-text-values block)
|
||||
properties (-> (merge properties new-properties)
|
||||
properties (-> (merge properties* new-properties)
|
||||
common-util/remove-nils-non-nested)
|
||||
properties-text-values (-> (merge properties-text-values new-properties)
|
||||
common-util/remove-nils-non-nested)
|
||||
|
||||
Reference in New Issue
Block a user