[fix] explore chart from dashboard missed slice title (#7046)

This commit is contained in:
Grace Guo 2019-03-16 10:44:14 -07:00 committed by GitHub
parent 4a3009406a
commit a6d48d4052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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,