mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -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,
|
||||
CategoryScale,
|
||||
LinearScale,
|
||||
LineController,
|
||||
} from 'chart.js';
|
||||
|
||||
export const ChartJSPlugin = {
|
||||
|
@ -21,6 +22,7 @@ export const ChartJSPlugin = {
|
|||
Title,
|
||||
Tooltip,
|
||||
Legend,
|
||||
LineController,
|
||||
);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue