mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
fix: open local file not work when create new page
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
(fn [{:keys [close-fn] :as state}]
|
||||
[:div.py-1.rounded-md.shadow-xs
|
||||
(when links-header links-header)
|
||||
(for [{:keys [options title icon]} links]
|
||||
(for [{:keys [options title icon]} (if (fn? links) (links) links)]
|
||||
(let [new-options
|
||||
(assoc options
|
||||
:on-click (fn [e]
|
||||
|
||||
Reference in New Issue
Block a user