mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 07:05:10 +00:00
fix: trim on nil
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
|
||||
(:file-path config)
|
||||
(let [path (:file-path config)
|
||||
content (db/get-file path)]
|
||||
content (or (db/get-file path) "")]
|
||||
(when (and
|
||||
(not (string/blank? value))
|
||||
(not= (string/trim value) (string/trim content)))
|
||||
|
||||
Reference in New Issue
Block a user