Browse Source

fix: disable page info for block page

Tienson Qin 1 year ago
parent
commit
f8aa7d5a69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/page.cljs

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

@@ -521,7 +521,7 @@
                     (plugins/hook-ui-slot :page-head-actions-slotted nil)
                     (plugins/hook-ui-slot :page-head-actions-slotted nil)
                     (plugins/hook-ui-items :pagebar)]))])
                     (plugins/hook-ui-items :pagebar)]))])
 
 
-            (when db-based?
+            (when (and db-based? (not block?))
               [:div.pb-4
               [:div.pb-4
                (db-page/page-info page (::hover-title? state))])
                (db-page/page-info page (::hover-title? state))])