Browse Source

fix: hide page history menu for db graphs

fixes https://github.com/logseq/db-test/issues/355
Tienson Qin 5 months ago
parent
commit
6f269462ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/page_menu.cljs

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

@@ -79,7 +79,7 @@
                            (page-handler/<unfavorite-page! page-title)
                            (page-handler/<favorite-page! page-title)))}})
 
-          (when (or (util/electron?) file-sync-graph-uuid)
+          (when (and (or (util/electron?) file-sync-graph-uuid) (not db-based?))
             {:title   (t :page/version-history)
              :options {:on-click
                        (fn []