-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fix: Show cross filter option only when cross filter is enabled #16391
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16391 +/- ##
==========================================
- Coverage 76.57% 76.56% -0.01%
==========================================
Files 1000 1000
Lines 53489 53491 +2
Branches 6816 6818 +2
==========================================
+ Hits 40957 40958 +1
- Misses 12296 12297 +1
Partials 236 236
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@michael-s-molina Ephemeral environment spinning up at http://50.112.72.84:8080. Credentials are |
@@ -229,6 +230,7 @@ class SliceHeaderControls extends React.PureComponent< | |||
value.behaviors?.includes(Behavior.INTERACTIVE_CHART), | |||
) | |||
.find(([key]) => key === slice.viz_type); | |||
const emitCrossFilter = slice.form_data?.emit_filter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we name it sth like canEmitCrossFilter
? It might be mistaken for a function that emits a cross filter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Changed.
aee2f7e
to
81a32a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I hadn't noticed this shortcoming 👍
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
Fixes #16341
@junlincc @jinghua-qa @rusackas
AFTER SCREENSHOTS OR ANIMATED GIF
Screen.Recording.2021-08-21.at.2.21.39.PM.mov
TESTING INSTRUCTIONS
Check the original issue for instructions.
ADDITIONAL INFORMATION