mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 17:36:33 +00:00
enhance: page graph will auto-refresh when redirecting to a new page
This commit is contained in:
@@ -76,10 +76,19 @@
|
||||
|
||||
:else
|
||||
nil)]
|
||||
(when (and
|
||||
(string? page)
|
||||
(not (string/blank? page)))
|
||||
(string/trim page))))
|
||||
(cond
|
||||
(and
|
||||
(string? page)
|
||||
(text/block-ref? page))
|
||||
(text/block-ref-un-brackets! page)
|
||||
|
||||
(and
|
||||
(string? page)
|
||||
(not (string/blank? page)))
|
||||
(string/trim page)
|
||||
|
||||
:else
|
||||
nil)))
|
||||
|
||||
(defn get-block-reference
|
||||
[block]
|
||||
|
||||
Reference in New Issue
Block a user