mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
ui: only notify error on default error screen
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
(when-let [route-match (state/sub :route-match)]
|
||||
(let [route-name (get-in route-match [:data :name])]
|
||||
(when-let [view (:view (:data route-match))]
|
||||
(ui/catch-error
|
||||
(ui/catch-error-and-notify
|
||||
(helpful-default-error-screen)
|
||||
(if (= :draw route-name)
|
||||
(view route-match)
|
||||
|
||||
Reference in New Issue
Block a user