fix(ui): redundant notifications when checking single plugin

This commit is contained in:
charlie
2022-01-13 16:46:23 +08:00
committed by Andelf
parent 29c4bb4048
commit 7e4eff1a92

View File

@@ -183,7 +183,10 @@
(do
;; consume failed download updates
(state/consume-updates-coming-plugin payload true)
(when (and (not only-check) (not pending?))
(state/consume-updates-coming-plugin payload true))
;; notify human tips
(notifications/show!
(str
(if (= :error type) "[Install Error]" "")