analoge eingänge
This commit is contained in:
@@ -14,7 +14,7 @@ import Footer from "../components/footer/Footer";
|
||||
// Thunks importieren
|
||||
import { fetchKueDataThunk } from "../redux/thunks/fetchKueDataThunk";
|
||||
import { fetchDigitalOutputsThunk } from "../redux/thunks/fetchDigitalOutputsThunk";
|
||||
import { fetchAnalogeEingaengeThunk } from "../redux/thunks/fetchAnalogeEingaengeThunk";
|
||||
import { fetchAnalogInputsThunk } from "../redux/thunks/fetchAnalogInputsThunk";
|
||||
import { fetchAnalogInputsHistoryThunk } from "../redux/thunks/fetchAnalogInputsHistoryThunk";
|
||||
import { fetchLast20MessagesThunk } from "../redux/thunks/fetchLast20MessagesThunk";
|
||||
import { fetchOpcUaSettingsThunk } from "../redux/thunks/fetchOpcUaSettingsThunk";
|
||||
@@ -50,8 +50,8 @@ function AppContent({ Component, pageProps }: AppProps) {
|
||||
dispatch(fetchDigitalOutputsThunk());
|
||||
} else if (pathname.includes("digitalInputs")) {
|
||||
dispatch(fetchDigitalOutputsThunk()); // 🟠 evtl. anpassen
|
||||
} else if (pathname.includes("analogeEingaenge")) {
|
||||
dispatch(fetchAnalogeEingaengeThunk());
|
||||
} else if (pathname.includes("analogInputs")) {
|
||||
dispatch(fetchAnalogInputsThunk());
|
||||
} else if (pathname.includes("analogHistory")) {
|
||||
dispatch(fetchAnalogInputsHistoryThunk());
|
||||
} else if (pathname.includes("dashboard")) {
|
||||
|
||||
Reference in New Issue
Block a user