mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
fix(editor): Make sure LineController is registered with chart.js (#7730)
Tree shaking in production build of the editor-ui package removed the LineController, this makes sure it is in the final package.
This commit is contained in:
parent
6300ee342c
commit
ebee1a5908
|
@ -8,6 +8,7 @@ import {
|
||||||
PointElement,
|
PointElement,
|
||||||
CategoryScale,
|
CategoryScale,
|
||||||
LinearScale,
|
LinearScale,
|
||||||
|
LineController,
|
||||||
} from 'chart.js';
|
} from 'chart.js';
|
||||||
|
|
||||||
export const ChartJSPlugin = {
|
export const ChartJSPlugin = {
|
||||||
|
@ -21,6 +22,7 @@ export const ChartJSPlugin = {
|
||||||
Title,
|
Title,
|
||||||
Tooltip,
|
Tooltip,
|
||||||
Legend,
|
Legend,
|
||||||
|
LineController,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue