KamoCRM

Persist language change and show current language in tooltip

Fixkamo-internal
Navios
30 de abril de 2026 às 17:25 UTC
Autor
kamo
Enviar
d9b21c9

The members endpoint accepts PUT not PATCH, so the language picker's PATCH was silently ignored — Member.language never actually updated, which is why refreshing reverted the UI to the previous language. Switch the call to PUT and surface a non-2xx as a thrown error so failures don't fail silently. Tooltip now reads "My Language - 中文 (Chinese)" so the current selection is visible without opening the dropdown.

Todas as alterações

Como o que vês no transporte?

Tudo isso chega em seu espaço de trabalho por conta própria. Comece no plano gratuito e leia esta página novamente em um mês.

Começar Livre Para SempreVer Preços