mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
enhance(clock): support recording in repeated block // cleanup unused namespaces (#2777)
* enhance(clock): support recording in repeated block * cleanup: unused namespaces * cleanup: missing-else-branch if --> when * enhance: wider search results window for mobile browser * fix: namespace requirement
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
(defn parse-user-md-content
|
||||
[content {:keys [url]}]
|
||||
(try
|
||||
(if-not (string/blank? content)
|
||||
(when-not (string/blank? content)
|
||||
(let [content (if-not (string/blank? url)
|
||||
(string/replace
|
||||
content #"!\[[^\]]*\]\((.*?)\s*(\"(?:.*[^\"])\")?\s*\)"
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
(defn load-unpacked-plugin
|
||||
[]
|
||||
(if util/electron?
|
||||
(when util/electron?
|
||||
(p/let [path (ipc/ipc "openDialogSync")]
|
||||
(when-not (:plugin/selected-unpacked-pkg @state/state)
|
||||
(state/set-state! :plugin/selected-unpacked-pkg path)))))
|
||||
|
||||
Reference in New Issue
Block a user