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
|
@ -14,8 +14,6 @@ import List from "../../UI/Base/List";
|
|||
import {MappingConfigJson, QuestionableTagRenderingConfigJson} from "./Json/QuestionableTagRenderingConfigJson";
|
||||
import {FixedUiElement} from "../../UI/Base/FixedUiElement";
|
||||
import {Paragraph} from "../../UI/Base/Paragraph";
|
||||
import spec = Mocha.reporters.spec;
|
||||
import SpecialVisualizations from "../../UI/SpecialVisualizations";
|
||||
|
||||
export interface Mapping {
|
||||
readonly if: TagsFilter,
|
||||
|
|
|
@ -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