mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
fix(fs): avoid nil repo on ios
This commit is contained in:
@@ -1143,7 +1143,8 @@
|
||||
[{:keys [t current-repo db-restoring? nfs-granted?]}]
|
||||
(rum/use-effect!
|
||||
(fn []
|
||||
(when (and (not db-restoring?)
|
||||
(when (and (not-empty current-repo)
|
||||
(not db-restoring?)
|
||||
(or (not util/nfs?) nfs-granted?))
|
||||
(ui-handler/exec-js-if-exists-&-allowed! t)))
|
||||
[current-repo db-restoring? nfs-granted?])
|
||||
|
||||
Reference in New Issue
Block a user