Skip to content

fix #3345 adding a check for timeline data before expanding the component#3349

Merged
offtherailz merged 1 commit intogeosolutions-it:c127_geonode_integrationfrom
baloola:timeline_init
Nov 19, 2018
Merged

fix #3345 adding a check for timeline data before expanding the component#3349
offtherailz merged 1 commit intogeosolutions-it:c127_geonode_integrationfrom
baloola:timeline_init

Conversation

@baloola
Copy link
Copy Markdown
Contributor

@baloola baloola commented Nov 19, 2018

Description

fix #3345 when the user expand the timeline component immediately after opening a pre-loaded map the component tries render itself, the problem its main props are not generated yet , and so it renders nothing, this PR assigns the visibility of the expand button to the existence of the timeline.rangeData.
The final outcome :
The expand button will appear only after timeline.rangeData is created.

Issues

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

What is the current behavior? (You can also link to an open issue here)
see #3345

What is the new behavior?
see the description

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 80.803% when pulling fc13108 on baloola:timeline_init into df745ae on geosolutions-it:c127_geonode_integration.

@offtherailz offtherailz merged commit 58610a6 into geosolutions-it:c127_geonode_integration Nov 19, 2018
offtherailz added a commit that referenced this pull request Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants