mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
Fix multiple issues with global config
- global config saved outside the app errored and had no effect on config - global config saved in app, saved invalid state and invalid file - removed outdated global error handling on alter-file - Also fix validations for repo config
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
(str (string/trim value) "\n")
|
||||
{:re-render-root? true})))
|
||||
;; global file
|
||||
(file-handler/alter-global-file path (str (string/trim value) "\n"))))
|
||||
(file-handler/alter-global-file path (str (string/trim value) "\n") {})))
|
||||
|
||||
:else
|
||||
nil))))))
|
||||
|
||||
Reference in New Issue
Block a user