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