This commit is contained in:
Jan Prochazka
2022-01-02 22:20:49 +01:00
parent 1e2ca1e297
commit 9250f2baaf

View File

@@ -46,7 +46,8 @@
chart = new Chart(domChart, {
type,
data: data,
options: _.cloneDeep(options),
// options must be cloned, because chartjs modifies options object, without cloning fails passing options to electron invoke
options: _.cloneDeep(options),
});
});