KamoCRM

Stop refresh icon blinking via infinite check loop

Fixkamo-internal
Ya
1 Julai 2026, 17:45 UTC
Mwandishi
kamo
Ahadi ya
3b8ec76

Once a domain was SSL-confirmed, checkDns unconditionally built a new domain object even when sslConfirmed was already true. The new object reference re-triggered the polling effect (deps include domain), which called checkDns again, looping forever and toggling the checking state so the refresh icon flickered between spinner and refresh glyph. Guard the setDomain updater with !prev.sslConfirmed so it returns the same reference when nothing changed, breaking the loop.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei