Daten von 118. in mocks geholt

This commit is contained in:
ISA
2025-08-11 12:07:47 +02:00
parent c107738625
commit 806eaaeff7
53 changed files with 158942 additions and 158805 deletions

View File

@@ -2,18 +2,21 @@
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
interface LoopChartTypeState {
chartTitle: string;
chartTitle: "Messkurve" | "Meldungen";
}
const initialState: LoopChartTypeState = {
chartTitle: "Schleifenmessung", // Standardwert
chartTitle: "Messkurve", // Standard: Messkurve
};
const loopChartTypeSlice = createSlice({
name: "loopChartType",
initialState,
reducers: {
setChartTitle: (state, action: PayloadAction<string>) => {
setChartTitle: (
state,
action: PayloadAction<"Messkurve" | "Meldungen">
) => {
state.chartTitle = action.payload;
},
},