Browse Source

Remove :collapsed from properties-text-values like we do for :id

https://github.com/logseq/logseq/pull/8657/files#r1112206914
Gabriel Horner 2 years ago
parent
commit
d7d65a6c66
1 changed files with 1 additions and 0 deletions
  1. 1 0
      deps/graph-parser/src/logseq/graph_parser/block.cljs

+ 1 - 0
deps/graph-parser/src/logseq/graph_parser/block.cljs

@@ -574,6 +574,7 @@
         block (if (get-in block [:properties :collapsed])
                 (-> (assoc block :collapsed? true)
                     (update :properties (fn [m] (dissoc m :collapsed)))
+                    (update :properties-text-values dissoc :collapsed)
                     (update :properties-order (fn [keys] (vec (remove #{:collapsed} keys)))))
                 block)
         block (assoc block