mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
fix: don't copy block-ref if block-id is nil
This commit is contained in:
@@ -2406,7 +2406,7 @@
|
||||
(defn- copy-current-block-ref
|
||||
[]
|
||||
(when-let [current-block (state/get-edit-block)]
|
||||
(let [block-id (:block/uuid current-block)]
|
||||
(when-let [block-id (:block/uuid current-block)]
|
||||
(copy-block-ref! block-id #(str "((" % "))"))
|
||||
(notification/show!
|
||||
[:div
|
||||
|
||||
Reference in New Issue
Block a user