mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: keeping ask for permissions for nfs graphs
Also, simplify the code a bit.
This commit is contained in:
@@ -228,8 +228,7 @@
|
||||
(db/set-file-content! repo path content))))
|
||||
|
||||
(when-let [chan (state/get-file-write-chan)]
|
||||
(let [chan-callback
|
||||
(:chan-callback opts)]
|
||||
(let [chan-callback (:chan-callback opts)]
|
||||
(async/put! chan [repo files opts file->content])
|
||||
(when chan-callback
|
||||
(chan-callback))))))
|
||||
|
||||
Reference in New Issue
Block a user