소스 검색

fix: builder shouldn't fail on handwritten

Gabriel Horner 1 년 전
부모
커밋
698245ede0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/frontend/components/query/builder.cljs

+ 1 - 1
src/main/frontend/components/query/builder.cljs

@@ -379,7 +379,7 @@
       (str (if (and (config/db-based-graph? (state/get-current-repo))
                     (qualified-keyword? (second clause)))
              (:block/title (db/entity (second clause)))
-             (name (second clause)))
+             (some-> (second clause) name))
            ": "
            (cond
              (and (vector? (last clause)) (= :page-ref (first (last clause))))