fix: KÜ ISO 2 Nachkommastellen und RSL 3 Nachkommastellen

This commit is contained in:
ISA
2025-09-01 14:03:04 +02:00
parent 0c02e6f1c9
commit 57baca292a
6 changed files with 16 additions and 7 deletions

View File

@@ -6,6 +6,6 @@ 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.793
NEXT_PUBLIC_APP_VERSION=1.6.794
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -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.793
NEXT_PUBLIC_APP_VERSION=1.6.794
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.794] 2025-09-01
- fix: System Footer responsive
---
## [1.6.793] 2025-09-01
- fix: playwright headless true

View File

@@ -340,7 +340,9 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
>
{isoDisplayValue === "Abgleich"
? "ISO: Abgleich"
: `ISO: ${Number(isolationswert)} MOhm`}
: `ISO: ${Number(isolationswert)
.toFixed(2)
.replace(".", ",")} MOhm`}
</span>
{/* 3. Zeile: Schleifenwert, in Rot bei Schleifenfehler, sonst normal */}
<span
@@ -348,7 +350,9 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
Number(kueAlarm2?.[slotIndex]) === 1 ? "text-red-500" : ""
}`}
>
{`RSL: ${loopDisplayValue} kOhm`}
{`RSL: ${Number(loopDisplayValue)
.toFixed(3)
.replace(".", ",")} kOhm`}
</span>
</div>
</div>

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "cpl-v4",
"version": "1.6.793",
"version": "1.6.794",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cpl-v4",
"version": "1.6.793",
"version": "1.6.794",
"dependencies": {
"@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.793",
"version": "1.6.794",
"private": true,
"scripts": {
"dev": "next dev -p 3000",