mirror of
https://github.com/logseq/logseq.git
synced 2026-06-02 11:21:22 +00:00
fix: do not show links for the current page
This commit is contained in:
@@ -78,6 +78,7 @@
|
||||
(defn get-tldraw-handlers [current-whiteboard-name]
|
||||
{:search search-handler
|
||||
:queryBlockByUUID #(clj->js (model/query-block-by-uuid (parse-uuid %)))
|
||||
:getBlockPageName #(:block/name (model/get-block-page (state/get-current-repo) (parse-uuid %)))
|
||||
:isWhiteboardPage model/whiteboard-page?
|
||||
:saveAsset save-asset-handler
|
||||
:makeAssetUrl editor-handler/make-asset-url
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
:selectedIds #js[]
|
||||
:pages [(merge tldr-page
|
||||
{:id id
|
||||
:name "page"
|
||||
:name (:block/name page-block)
|
||||
:shapes shapes})]})))
|
||||
|
||||
(defn transact-tldr! [page-name tldr]
|
||||
|
||||
Reference in New Issue
Block a user