Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1414 Fixed translations when language changes in the home and manager pages #1417

Merged
merged 2 commits into from
Feb 2, 2017

Conversation

MV88
Copy link
Contributor

@MV88 MV88 commented Feb 2, 2017

There was a problem also in the manager page for the Users and Groups tools. #1414
They didn't update correctly at the first change of the language.
To solve this I put a {pure: false} options to the connect of the two tools.
In some situations with pure components if only the context changes then the rendering is not performed.

See reduxjs/react-redux#311
Quote from the reference "This will significantly slow it down but context changes will propagate".
I didn't see a significant loss of performace.

@MV88 MV88 changed the title #1414 Fixed tranlations when language change in the home and manager pages #1414 Fixed translations when language change in the home and manager pages Feb 2, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 76.746% when pulling a963255 on MV88:iss_1414_tooltip_language into ed5abc6 on geosolutions-it:master.

@MV88 MV88 changed the title #1414 Fixed translations when language change in the home and manager pages #1414 Fixed translations when language changes in the home and manager pages Feb 2, 2017
@MV88 MV88 merged commit cb1fafa into geosolutions-it:master Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants