Browse Source

fix: block breadcrumb in cmdk results

Tienson Qin 5 months ago
parent
commit
a84b648fbf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/components/cmdk/core.cljs

+ 2 - 2
src/main/frontend/components/cmdk/core.cljs

@@ -314,8 +314,8 @@
     {:icon icon
      :icon-theme :gray
      :text (highlight-content-query text @!input)
-     :header (when (:block/parent block) (block/breadcrumb {:disable-preview? true
-                                                            :search? true} repo id {}))
+     :header (block/breadcrumb {:disable-preview? true
+                                :search? true} repo id {})
      :current-page? (when-let [page-id (:block/page block)]
                       (= page-id (:block/uuid current-page)))
      :source-block block}))