diff --git a/.env.development b/.env.development index 0fb4329..a241818 100644 --- a/.env.development +++ b/.env.development @@ -6,5 +6,5 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.421 +NEXT_PUBLIC_APP_VERSION=1.6.422 NEXT_PUBLIC_CPL_MODE=jsmock # json (Entwicklungsumgebung) oder jsmock (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) \ No newline at end of file diff --git a/.env.production b/.env.production index ad23f8a..681a922 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.421 +NEXT_PUBLIC_APP_VERSION=1.6.422 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/components/main/analogInputs/AnalogInputsTable.tsx b/components/main/analogInputs/AnalogInputsTable.tsx index a3afc23..a13dd7d 100644 --- a/components/main/analogInputs/AnalogInputsTable.tsx +++ b/components/main/analogInputs/AnalogInputsTable.tsx @@ -54,7 +54,10 @@ export default function AnalogInputsTable({
{Object.values(analogInputs) - .filter((e) => e?.id !== null && e?.id !== undefined) + .filter( + (e) => + e && typeof e.id === "number" && typeof e.label === "string" + ) .map((e, index) => (