فهرست منبع

chore: remvoe go to this page

fixes https://github.com/logseq/db-test/issues/79
Tienson Qin 1 سال پیش
والد
کامیت
7ac1d813ff
2فایلهای تغییر یافته به همراه1 افزوده شده و 8 حذف شده
  1. 1 7
      src/main/frontend/components/page_menu.cljs
  2. 0 1
      src/resources/dicts/en.edn

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

@@ -69,13 +69,7 @@
                                     (file-sync-handler/get-current-graph-uuid))]
       (when (not block?)
         (->>
-         [(when (not= (state/get-current-page) (str (:block/uuid page)))
-            {:title   (t :page/go-to-page)
-             :options {:on-click
-                       (fn []
-                         (route-handler/redirect-to-page! (:block/uuid page)))}})
-
-          (when-not config/publishing?
+         [(when-not config/publishing?
             {:title   (if favorited?
                         (t :page/unfavorite)
                         (t :page/add-to-favorites))

+ 0 - 1
src/resources/dicts/en.edn

@@ -147,7 +147,6 @@
  :page/make-private "Make it private"
  :page/delete "Delete page"
  :page/add-to-favorites "Add to Favorites"
- :page/go-to-page "Go to this page"
  :page/unfavorite "Unfavorite page"
  :block/name "Page name"
  :page/copy-page-url "Copy page URL"