fix: KÜ slotnummer in der Messkurven Modal
This commit is contained in:
@@ -14,7 +14,7 @@ const handleOpenChartModal = (
|
||||
setShowChartModal: Dispatch<SetStateAction<boolean>>,
|
||||
dispatch: ReturnType<typeof useDispatch>,
|
||||
slotIndex: number,
|
||||
activeButton: "Schleife" | "TDR"
|
||||
activeButton: "Schleife" | "TDR" | "ISO"
|
||||
) => {
|
||||
setShowChartModal(true);
|
||||
dispatch(setChartOpen(true));
|
||||
@@ -26,6 +26,8 @@ const handleOpenChartModal = (
|
||||
|
||||
if (activeButton === "TDR") {
|
||||
dispatch(setActiveMode("TDR"));
|
||||
} else if (activeButton === "ISO") {
|
||||
dispatch(setActiveMode("ISO"));
|
||||
} else {
|
||||
dispatch(setActiveMode("Schleife"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user