Просмотр исходного кода

fix: sorting :node columns like :block/tags

Gabriel Horner 1 год назад
Родитель
Сommit
d3e934d338
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/components/views.cljs

+ 1 - 1
src/main/frontend/components/views.cljs

@@ -95,7 +95,7 @@
   [block property]
   (let [type (get-in property [:block/schema :type])
         many? (= :db.cardinality/many (get property :db/cardinality))
-        ref-types (into db-property-type/value-ref-property-types #{:entity})
+        ref-types (into db-property-type/ref-property-types #{:entity})
         number-type? (= :number type)
         v (get block (:db/ident property))
         v' (if many? v [v])