diff --git a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx index 994f780..a6c69da 100644 --- a/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx +++ b/components/main/kabelueberwachung/kue705FO/Charts/LoopMeasurementChart/LoopMeasurementChart.tsx @@ -77,7 +77,7 @@ const LoopMeasurementChart = () => { const from = vonDatum ? parseISO(vonDatum) : null; const to = bisDatum ? parseISO(bisDatum) : null; const durationInHours = from && to ? differenceInHours(to, from) : 9999; - const timeUnit = durationInHours <= 48 ? "hour" : "day"; + const timeUnit: "hour" | "day" = durationInHours <= 48 ? "hour" : "day"; useEffect(() => { import("chartjs-plugin-zoom").then((zoomPlugin) => { @@ -173,7 +173,7 @@ const LoopMeasurementChart = () => { x: { type: "time" as const, time: { - unit: timeUnit as const, + unit: timeUnit, tooltipFormat: "dd.MM.yyyy HH:mm:ss", displayFormats: { hour: "HH:mm", diff --git a/config/webVersion.ts b/config/webVersion.ts index 3b39881..30f0ef0 100644 --- a/config/webVersion.ts +++ b/config/webVersion.ts @@ -6,5 +6,5 @@ 2: Patch oder Hotfix (Bugfixes oder kleine Änderungen). */ -const webVersion = "1.6.393"; +const webVersion = "1.6.394"; export default webVersion;