mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix: sometimes recent not working
This commit is contained in:
@@ -350,6 +350,7 @@
|
||||
(sub-key-value (state/get-current-repo) key))
|
||||
([repo-url key]
|
||||
(when (conn/get-conn repo-url)
|
||||
(-> (q repo-url [:kv key] {} key key)
|
||||
react
|
||||
key))))
|
||||
(let [m (some-> (q repo-url [:kv key] {} key key) react)]
|
||||
(if-let [result (get m key)]
|
||||
result
|
||||
m)))))
|
||||
|
||||
Reference in New Issue
Block a user