fix: hide page history menu for db graphs

fixes https://github.com/logseq/db-test/issues/355
This commit is contained in:
Tienson Qin
2025-06-25 16:41:12 +08:00
parent 1aa21ecd8a
commit 6f269462ab

View File

@@ -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 []