forked from MapComplete/MapComplete
Small fixes for matrix-bot compatibility
This commit is contained in:
parent
5d9582cb30
commit
75f5d64cff
2 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import BaseUIElement from "../BaseUIElement";
|
||||
import {Chart, ChartConfiguration, ChartType, DefaultDataPoint, registerables} from 'chart.js';
|
||||
Chart.register(...registerables);
|
||||
Chart?.register(...(registerables ?? []));
|
||||
|
||||
|
||||
export default class ChartJs<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue