Kabelüberwachung: Anstatt Slot überall Steckplatz als Text verwenden
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user