-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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: revert data endpoint name #16162
fix: revert data endpoint name #16162
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16162 +/- ##
==========================================
- Coverage 76.82% 76.68% -0.14%
==========================================
Files 996 996
Lines 52940 52942 +2
Branches 6732 6734 +2
==========================================
- Hits 40670 40601 -69
- Misses 12045 12116 +71
Partials 225 225
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -132,7 +132,7 @@ const ExploreChartPanel = props => { | |||
const { slice } = props; | |||
const updateQueryContext = useCallback( | |||
async function fetchChartData() { | |||
if (slice && slice.query_context === null) { | |||
if (props.can_overwrite && slice && slice.query_context === null) { |
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.
deconstruct can_overwrite
above then use just can_overwrite
in if
const { can_overwrite, slice } = props;
(cherry picked from commit 7b3fce7)
(cherry picked from commit 7b3fce7)
(cherry picked from commit 7b3fce7)
(cherry picked from commit 7b3fce7)
(cherry picked from commit 731874a)
SUMMARY
Rename
post_data
back todata
, since it's giving permission errors.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION