fix: digital inputs status LED
This commit is contained in:
@@ -19,6 +19,7 @@ export default function DigitalInputs({ openInputModal, inputRange }: Props) {
|
||||
);
|
||||
|
||||
const inputs = digitalInputs.slice(inputRange.start, inputRange.end);
|
||||
//console.log("DigitalInputs", inputs);
|
||||
|
||||
return (
|
||||
<div className="bg-white shadow-md border border-gray-200 p-3 rounded-lg w-full laptop:p-1 xl:p-1">
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function InputModal({
|
||||
useEffect(() => {
|
||||
if (reduxInput && isInitialLoad) {
|
||||
//reduxInput
|
||||
console.log("📦 reduxInput geladen:", reduxInput);
|
||||
//console.log("📦 reduxInput geladen:", reduxInput);
|
||||
setLabel(reduxInput.label || "");
|
||||
setInvertiert(reduxInput.invert);
|
||||
setTimeFilter(reduxInput.timeFilter);
|
||||
@@ -55,7 +55,7 @@ export default function InputModal({
|
||||
|
||||
const sendCgiUpdate = async (param: string) => {
|
||||
const url = `/CPL?/eingaenge.html&${param}`;
|
||||
console.log("📡 CGI senden:", url);
|
||||
//console.log("📡 CGI senden:", url);
|
||||
|
||||
const response = await fetch(url);
|
||||
if (!response.ok) {
|
||||
|
||||
Reference in New Issue
Block a user