style: TDR
This commit is contained in:
@@ -16,7 +16,10 @@ import {
|
||||
setChartTitle,
|
||||
} from "@/redux/slices/kabelueberwachungChartSlice";
|
||||
import { resetBrushRange } from "@/redux/slices/brushSlice";
|
||||
import { setSelectedSlot, setActiveMode } from "@/redux/slices/kueChartModeSlice";
|
||||
import {
|
||||
setSelectedSlot,
|
||||
setActiveMode,
|
||||
} from "@/redux/slices/kueChartModeSlice";
|
||||
import { Listbox } from "@headlessui/react";
|
||||
import Report from "../IsoMeasurementChart/Report";
|
||||
|
||||
@@ -26,9 +29,15 @@ interface TDRChartViewProps {
|
||||
slotIndex: number;
|
||||
}
|
||||
|
||||
const TDRChartView: React.FC<TDRChartViewProps> = ({ isOpen, onClose, slotIndex }) => {
|
||||
const TDRChartView: React.FC<TDRChartViewProps> = ({
|
||||
isOpen,
|
||||
onClose,
|
||||
slotIndex,
|
||||
}) => {
|
||||
const dispatch = useDispatch<AppDispatch>();
|
||||
const { isFullScreen, chartTitle } = useSelector((s: RootState) => s.kabelueberwachungChartSlice);
|
||||
const { isFullScreen, chartTitle } = useSelector(
|
||||
(s: RootState) => s.kabelueberwachungChartSlice
|
||||
);
|
||||
|
||||
// Initialize defaults when opening
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user