mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
fix: local graph should popup encryption dialog when re-index
This commit is contained in:
@@ -259,9 +259,12 @@
|
||||
(rename-f "modify" modified))]
|
||||
(when (or (and (seq diffs) (seq modified-files))
|
||||
(seq diffs))
|
||||
(comment "re-index a local graph is handled here")
|
||||
(repo-handler/load-repo-to-db! repo
|
||||
{:diffs diffs
|
||||
:nfs-files modified-files
|
||||
;; re-ask encryption
|
||||
:first-clone? re-index?
|
||||
:refresh? (not re-index?)}))
|
||||
(when (and (util/electron?) (not re-index?))
|
||||
(db/transact! repo new-files))))))))
|
||||
|
||||
Reference in New Issue
Block a user