mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
fix: All Pages view lists all of the images
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
|
||||
(and
|
||||
(= typ "Search")
|
||||
(text/page-ref? (second (:url (second block))))
|
||||
(text/page-ref-un-brackets! (second (:url (second block)))))
|
||||
|
||||
(and
|
||||
@@ -84,10 +85,10 @@
|
||||
|
||||
(and (vector? block)
|
||||
(= "Macro" (first block)))
|
||||
(let [{:keys [name arguments]} (second block)]
|
||||
(let [argument (string/join ", " arguments)]
|
||||
(let [{:keys [name arguments]} (second block)
|
||||
argument (string/join ", " arguments)]
|
||||
(when (= name "embed")
|
||||
(text/page-ref-un-brackets! argument))))
|
||||
(text/page-ref-un-brackets! argument)))
|
||||
|
||||
(and (vector? block)
|
||||
(= "Tag" (first block)))
|
||||
|
||||
Reference in New Issue
Block a user