mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Improve URLs for Chart and Dashboard ModelViews (#5544)
* Improve URLs for Chart and Dashboard ModelViews Prior to this, the ModelView for Chart and Dashboard would be at `/slicemodelview/list/` and `/dashboardmodelview/list/`. Now we have cleaner URLs at `/chart/list/` and `/dashboard/list/` * Fix unrelated js lint * addressing comments
This commit is contained in:
committed by
GitHub
parent
1e155663a7
commit
51bd17d6f6
@@ -192,7 +192,7 @@ describe('SaveModal', () => {
|
||||
});
|
||||
|
||||
it('calls correct url', () => {
|
||||
const url = '/dashboardmodelviewasync/api/read?_flt_0_owners=' + userID;
|
||||
const url = '/dashboardasync/api/read?_flt_0_owners=' + userID;
|
||||
makeRequest();
|
||||
expect(ajaxStub.getCall(0).args[0].url).to.be.equal(url);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user