Skip to content

Commit

Permalink
[fix] explore chart from dashboard missed slice title (apache#7046)
Browse files Browse the repository at this point in the history
(cherry picked from commit a6d48d4)
  • Loading branch information
Grace Guo committed Mar 18, 2019
1 parent c54b067 commit b3af6a2
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 @@ -253,7 +253,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 b3af6a2

Please sign in to comment.