mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
refactor(fs): handle global config as state, not in db
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
rpath (path/trim-dir-prefix repo-dir path)]
|
||||
(if rpath
|
||||
;; in-db file
|
||||
(let [old-content (db/get-file rpath)]
|
||||
(let [old-content (or (db/get-file rpath) "")]
|
||||
(when (and
|
||||
(not (string/blank? value))
|
||||
(not= (string/trim value) (string/trim old-content)))
|
||||
|
||||
Reference in New Issue
Block a user