Skip to content

Commit

Permalink
[fix] explore chart from dashboard missed slice title (#7046)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored Mar 16, 2019
1 parent 4a30094 commit a6d48d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion superset/assets/src/dashboard/actions/dashboardState.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,10 @@ export function addSliceToDashboard(id) {
),
);
}
const form_data = selectedSlice.form_data;
const form_data = {
...selectedSlice.form_data,
slice_id: selectedSlice.slice_id,
};
const newChart = {
...initChart,
id,
Expand Down

0 comments on commit a6d48d4

Please sign in to comment.