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

When checking if you should renderTriggered make sure controls[key] exists #3912

Merged

Conversation

michellethomas
Copy link
Contributor

@graceguo-supercat @mistercrunch

When switching visualization type np.controls and this.props.controls are different, so this.props.controls[key] is undefined. Alternatively, I could do a check to make sure the viz types are the same, but this seemed like a more explicit check.

Copy link

@graceguo-supercat graceguo-supercat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it!!
LGTM

@graceguo-supercat graceguo-supercat merged commit 12fb7c1 into apache:master Nov 21, 2017
@michellethomas michellethomas deleted the fix_explore_viz_picker branch November 21, 2017 18:25
michellethomas added a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.21.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.21.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants