Skip to content

Commit

Permalink
Fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Apr 19, 2019
1 parent ae93936 commit 1895dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/src/chart/chartAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export function exploreJSON(formData, force = false, timeout = 60, key, method)
const requestUrl = new URL(request.url || request);
const urlFormData = requestUrl.searchParams.get('form_data');
// clear all cached responses that reference this chart
if (formData && JSON.parse(urlFormData).slice_id === key) {
if (urlFormData && JSON.parse(urlFormData).slice_id === key) {
supersetCache.delete(request);
}
});
Expand Down

0 comments on commit 1895dff

Please sign in to comment.