Make sure charts are destroyed.

This commit is contained in:
James Cole
2023-10-01 11:32:08 +02:00
parent 78122a7d4b
commit ccec203910
6 changed files with 19 additions and 8 deletions

View File

@@ -25,6 +25,7 @@ import {Flow, SankeyController} from 'chartjs-chart-sankey';
import {loadTranslations} from "../../support/load-translations.js";
import {I18n} from "i18n-js";
import {getCacheKey} from "../../support/get-cache-key.js";
import {format} from "date-fns";
Chart.register({SankeyController, Flow});