mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[Dashboard bug]Fix userId prop in Explore view Save_Modal (#3857)
For userId, the attribute name in bootstrap data is user_id
This commit is contained in:
parent
514f9452f3
commit
3f076b00cd
@ -243,7 +243,7 @@ function mapStateToProps({ explore, saveModal }) {
|
||||
datasource: explore.datasource,
|
||||
slice: explore.slice,
|
||||
can_overwrite: explore.can_overwrite,
|
||||
userId: explore.userId,
|
||||
userId: explore.user_id,
|
||||
dashboards: saveModal.dashboards,
|
||||
alert: saveModal.saveModalAlert,
|
||||
};
|
||||
|
@ -24,7 +24,7 @@ describe('SaveModal', () => {
|
||||
},
|
||||
explore: {
|
||||
can_overwrite: true,
|
||||
userId: '1',
|
||||
user_id: '1',
|
||||
datasource: {},
|
||||
slice: {
|
||||
slice_id: 1,
|
||||
|
Loading…
Reference in New Issue
Block a user