mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
fix: create local versions on mobile if there's any conflict
This commit is contained in:
@@ -640,7 +640,8 @@
|
||||
(when (db/get-db graph)
|
||||
(let [file (:block/file page-entity)]
|
||||
(when-let [path (:file/path file)]
|
||||
(when (not= content (:file/content file))
|
||||
(when (and (not= content (:file/content file))
|
||||
(:file/content file))
|
||||
(sync/add-new-version-file graph path (:file/content file)))
|
||||
(p/let [_ (file-handler/alter-file graph
|
||||
path
|
||||
|
||||
Reference in New Issue
Block a user