mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
feat: multiple windows support
This commit is contained in:
@@ -285,9 +285,7 @@
|
||||
(when re-index?
|
||||
(state/set-graph-syncing? true))
|
||||
(->
|
||||
(p/let [handle (-> (idb/get-item handle-path)
|
||||
(p/catch (fn [_error]
|
||||
nil)))]
|
||||
(p/let [handle (when-not electron? (idb/get-item handle-path))]
|
||||
(when (or handle electron? mobile-native?) ; electron doesn't store the file handle
|
||||
(p/let [_ (when handle (nfs/verify-permission repo handle true))
|
||||
files-result (fs/get-files (if nfs? handle
|
||||
|
||||
Reference in New Issue
Block a user