Arquisoft / viade_en3a

Viade En3A
https://arquisoft.github.io/viade_en3a/
1 stars 4 forks source link

Username disapearing from home when translation is executed #166

Closed nicomencia closed 4 years ago

nicomencia commented 4 years ago

Once the translation is executed the username now disapears from the home page.

fincamd commented 4 years ago

@PabloFerMar Any idea on what could be happening?

nicomencia commented 4 years ago

I think it's because now as the get user info from the pod is centralized it's called in a function when the page loads appending it to the "Hi " in the element, but once the translation is executed is substitutes everything with "Hola ". @PabloFerMar do you know if it would be possible to call the func also with the translation or inside the translation, or any other solution.

nicomencia commented 4 years ago

Same error in profile page now, as info is loading onLoad function

jesQM commented 4 years ago

Fixed, the translation was overriding the append of the username.