mirror of
https://github.com/apache/superset.git
synced 2026-04-13 21:24:28 +00:00
fix(explore): save chart not working (#12178)
* fix(explore): save to dashboard not working * fix test
This commit is contained in:
@@ -145,10 +145,8 @@ describe('SaveModal', () => {
|
||||
|
||||
sinon.stub(defaultProps.actions, 'saveSlice').callsFake(() =>
|
||||
Promise.resolve({
|
||||
data: {
|
||||
dashboard_url: 'http://localhost/mock_dashboard/',
|
||||
slice: { slice_url: '/mock_slice/' },
|
||||
},
|
||||
dashboard_url: 'http://localhost/mock_dashboard/',
|
||||
slice: { slice_url: '/mock_slice/' },
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user