From 8b26febb334258af0f4e9ff445bbbf94d66c3a95 Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Mon, 10 Mar 2025 11:45:30 -0400 Subject: [PATCH] fix: all pages table in file graphs showing a self reference in header file graphs shouldn't be showing view types --- src/main/frontend/components/views.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/frontend/components/views.cljs b/src/main/frontend/components/views.cljs index a44eccb1f7..5972184afb 100644 --- a/src/main/frontend/components/views.cljs +++ b/src/main/frontend/components/views.cljs @@ -1419,8 +1419,9 @@ (search input {:on-change set-input! :set-input! set-input!}) - [:div.text-muted-foreground.text-sm - (pv/property-value view-entity (db/entity :logseq.property.view/type) {})] + (when db-based? + [:div.text-muted-foreground.text-sm + (pv/property-value view-entity (db/entity :logseq.property.view/type) {})]) (when db-based? (more-actions view-entity columns table))