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
@@ -25,9 +25,6 @@ export function getURIDirectory(formData, endpointType = 'base') {
|
||||
if (['json', 'csv', 'query'].indexOf(endpointType) >= 0) {
|
||||
directory = '/superset/explore_json/';
|
||||
}
|
||||
const [datasource_id, datasource_type] = formData.datasource.split('__');
|
||||
directory += `${datasource_type}/${datasource_id}/`;
|
||||
|
||||
return directory;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user