feat: Schließen Button in Kabelüberwachung Modal Einstellungen eingefügt

This commit is contained in:
ISA
2025-05-07 09:47:57 +02:00
parent 63381a1e55
commit e811cf24d5
5 changed files with 26 additions and 6 deletions

View File

@@ -61,9 +61,6 @@ export default function KueModal({ showModal, onClose, slot }: KueModalProps) {
<h2 className="text-base font-bold">
Einstellungen Steckplatz {slot + 1}
</h2>
<button onClick={onClose} className="text-2xl hover:text-gray-200">
<i className="bi bi-x-circle-fill"></i>
</button>
</div>
<div className="flex justify-start bg-gray-100 space-x-2 p-2">
@@ -98,7 +95,9 @@ export default function KueModal({ showModal, onClose, slot }: KueModalProps) {
{activeTab === "tdr" && (
<TdrEinstellung slot={slot} onClose={onClose} />
)}
{activeTab === "knoten" && <Knotenpunkte slot={slot} />}
{activeTab === "knoten" && (
<Knotenpunkte slot={slot} onClose={onClose} />
)}
</div>
</ReactModal>
);