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?

Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.

Começar Livre Para SempreVer Preços