mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
[WiP] Cleanup & fix URL scheme for the explore view (#4490)
* Improve URLs * Fix js tests
This commit is contained in:
committed by
Grace Guo
parent
bcca1717f2
commit
83524f97d7
@@ -23,9 +23,8 @@ export default class AddSliceContainer extends React.PureComponent {
|
||||
}
|
||||
|
||||
exploreUrl() {
|
||||
const baseUrl = `/superset/explore/${this.state.datasourceType}/${this.state.datasourceId}`;
|
||||
const formData = encodeURIComponent(JSON.stringify({ viz_type: this.state.visType }));
|
||||
return `${baseUrl}?form_data=${formData}`;
|
||||
return `/superset/explore/?form_data=${formData}`;
|
||||
}
|
||||
|
||||
gotoSlice() {
|
||||
|
||||
Reference in New Issue
Block a user