feat: Schließen Button in Kabelüberwachung Modal Einstellungen eingefügt
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user