fix(digitalOutputs): Einstellungs-Modal wird jetzt korrekt angezeigt bei Klick auf Icon
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"use client"; // /pages/digitalOutputs.tsx
|
||||
"use client"; // /pages/digitalOutputsPage.tsx
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
import { AppDispatch, RootState } from "../redux/store";
|
||||
@@ -46,9 +46,15 @@ const EinAusgaenge: React.FC = () => {
|
||||
<h1 className="text-base font-semibold mb-2">Ein- und Ausgänge</h1>
|
||||
|
||||
<div className="grid grid-cols-1 xl:grid-cols-3 gap-4 items-start ">
|
||||
{/* Digitale Ausgänge nicht Erforderlich*/}
|
||||
{<DigitalOutputs openOutputModal={openOutputModal} />}
|
||||
<DigitalOutputs openOutputModal={openOutputModal} />
|
||||
</div>
|
||||
|
||||
{/* ✅ Modal aktiv einbinden */}
|
||||
<OutputModal
|
||||
selectedOutput={selectedOutput}
|
||||
isOpen={isOutputModalOpen}
|
||||
closeOutputModal={closeOutputModal}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user