fix: linting and variable name
This commit is contained in:
parent
b2cdc59670
commit
7e069ed342
|
@ -529,13 +529,13 @@
|
|||
;; instead of using pos?
|
||||
(not (zero? (:peers-count db))))
|
||||
(if-let [preferred-mailserver (preferred-mailserver-id db)]
|
||||
(let [error-dismissed (connection-error-dismissed db)
|
||||
(let [error-dismissed? (connection-error-dismissed db)
|
||||
current-fleet (node/current-fleet-key db)]
|
||||
;; Error connecting to the mail server
|
||||
{:db
|
||||
(update-mailserver-state db :error)
|
||||
:ui/show-confirmation
|
||||
(when-not error-dismissed
|
||||
(when-not error-dismissed?
|
||||
{:title (i18n/label :t/mailserver-error-title)
|
||||
:content (i18n/label :t/mailserver-error-content)
|
||||
:confirm-button-text (i18n/label :t/mailserver-pick-another)
|
||||
|
|
Loading…
Reference in New Issue