feat(kabelname): Anzeige des Kabelnamens statt Bezeichnung unter jedem Modul (Änderungswunsch)

This commit is contained in:
ISA
2025-06-16 14:03:19 +02:00
parent 860ab1d7c2
commit ad73dcf054
7 changed files with 39 additions and 10 deletions

View File

@@ -41,6 +41,7 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
);
const dispatch = useDispatch();
const { kueName } = useSelector((state: RootState) => state.kueDataSlice);
const chartRef = useRef(null);
@@ -262,7 +263,7 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
<div className="absolute top-[2.5rem] left-[4.688rem] w-[2.5rem] h-[0.188rem] bg-white z-0"></div>
<div className="absolute bottom-[1.25rem] left-0 right-0 text-black text-[0.625rem] bg-gray-300 p-[0.063rem] text-center">
{currentModulName || `Modul ${slotIndex + 1}`}
{kueName?.[slotIndex] || `Modul ${slotIndex + 1}`}
</div>
<div className="absolute bottom-[0.063rem] right-[0.063rem] text-black text-[0.5rem]">