Tienson Qin пре 3 година
родитељ
комит
310bff0fad

+ 1 - 1
deps/graph-parser/src/logseq/graph_parser/test/docs_graph_helper.cljs

@@ -142,7 +142,7 @@
   ;; only increase over time as the docs graph rarely has deletions
   (testing "Counts"
     (is (= 211 (count files)) "Correct file count")
-    (is (= 41778 (count (d/datoms db :eavt))) "Correct datoms count")
+    (is (= 42070 (count (d/datoms db :eavt))) "Correct datoms count")
 
     (is (= 3600
            (ffirst

+ 5 - 2
deps/graph-parser/src/logseq/graph_parser/text.cljs

@@ -131,7 +131,8 @@
   (->>
    (string/split s #",")
    (remove string/blank?)
-   (map string/trim)))
+   (map string/trim)
+   (set)))
 
 (defn separated-by-commas?
   [config-state k]
@@ -150,7 +151,9 @@
                 (sep-by-comma v)
                 refs)
         k (if (or (symbol? k) (keyword? k)) (subs (str k) 1) k)
-        v (subs (str v) 1)
+        v (if (or (symbol? v) (keyword? v))
+            (subs (str v) 1)
+            (str v))
         v (string/trim v)
         non-string-property (parse-non-string-property-value v)]
     (cond

+ 1 - 0
src/main/frontend/db/model.cljs

@@ -46,6 +46,7 @@
     :block/marker
     :block/priority
     :block/properties
+    :block/properties-text-values
     :block/pre-block?
     :block/scheduled
     :block/deadline