Kabelüberwachung: Anstatt Slot überall Steckplatz als Text verwenden

This commit is contained in:
ISA
2025-04-22 14:19:03 +02:00
parent f03b8ea6c8
commit b0c11160fc
4 changed files with 6 additions and 6 deletions

View File

@@ -130,7 +130,7 @@ const LoopChartActionBar: React.FC = () => {
const type = selectedSlotType === "schleifenwiderstand" ? 4 : 3;
if (slotNumber === null) {
alert("⚠️ Bitte zuerst einen Slot auswählen!");
alert("⚠️ Bitte zuerst einen Steckplatz auswählen!");
return;
}
@@ -189,7 +189,7 @@ const LoopChartActionBar: React.FC = () => {
<div className="flex justify-between items-center p-2 bg-gray-100 rounded-lg space-x-2">
<div className="flex items-center">
<label className="text-sm font-semibold">
Slot {slotNumber ?? "-"}
Steckplatz {slotNumber ?? "-"}
</label>
</div>

View File

@@ -107,8 +107,8 @@ const TDRChartActionBar: React.FC = () => {
{/* 🧩 Slot-Anzeige (1-basiert für Benutzer) */}
<div className="text-sm font-semibold">
{selectedSlot !== null
? `Slot ${selectedSlot + 1}`
: "Kein Slot gewählt"}
? `Steckplatz ${selectedSlot + 1}`
: "Kein Steckplatz gewählt"}
</div>
{/* ✅ Referenz setzen */}

View File

@@ -47,7 +47,7 @@ export default function KueModal({ showModal, onClose, slot }: KueModalProps) {
}}
>
<div className="p-2 flex justify-between items-center rounded-t-md">
<h2 className="text-base font-bold">Einstellungen Slot {slot + 1}</h2>
<h2 className="text-base font-bold">Steckplatz {slot + 1}</h2>
<button onClick={onClose} className="text-2xl hover:text-gray-200">
<i className="bi bi-x-circle-fill"></i>
</button>

View File

@@ -6,5 +6,5 @@
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
*/
const webVersion = "1.6.250";
const webVersion = "1.6.251";
export default webVersion;