diff --git a/assets/js/hooks/Mapper/components/map/components/UnsplashedSignature/UnsplashedSignature.tsx b/assets/js/hooks/Mapper/components/map/components/UnsplashedSignature/UnsplashedSignature.tsx index 3be611d6..bf74fa6f 100644 --- a/assets/js/hooks/Mapper/components/map/components/UnsplashedSignature/UnsplashedSignature.tsx +++ b/assets/js/hooks/Mapper/components/map/components/UnsplashedSignature/UnsplashedSignature.tsx @@ -1,15 +1,16 @@ -import { WdTooltipWrapper } from '@/hooks/Mapper/components/ui-kit/WdTooltipWrapper'; import { InfoDrawer } from '@/hooks/Mapper/components/ui-kit'; +import { WdTooltipWrapper } from '@/hooks/Mapper/components/ui-kit/WdTooltipWrapper'; -import classes from './UnsplashedSignature.module.scss'; -import { SystemSignature } from '@/hooks/Mapper/types/signatures'; -import { useMapRootState } from '@/hooks/Mapper/mapRootProvider'; import { WORMHOLE_CLASS_STYLES, WORMHOLES_ADDITIONAL_INFO } from '@/hooks/Mapper/components/map/constants.ts'; -import { useMemo } from 'react'; -import clsx from 'clsx'; import { renderInfoColumn } from '@/hooks/Mapper/components/mapInterface/widgets/SystemSignatures/renders'; import { K162_TYPES_MAP } from '@/hooks/Mapper/constants.ts'; import { parseSignatureCustomInfo } from '@/hooks/Mapper/helpers/parseSignatureCustomInfo.ts'; +import { useMapRootState } from '@/hooks/Mapper/mapRootProvider'; +import { TimeStatus } from '@/hooks/Mapper/types'; +import { SystemSignature } from '@/hooks/Mapper/types/signatures'; +import clsx from 'clsx'; +import { useMemo } from 'react'; +import classes from './UnsplashedSignature.module.scss'; interface UnsplashedSignatureProps { signature: SystemSignature; @@ -35,7 +36,7 @@ export const UnsplashedSignature = ({ signature }: UnsplashedSignatureProps) => }, [customInfo]); const isEOL = useMemo(() => { - return customInfo?.isEOL; + return customInfo?.time_status === TimeStatus._1h; }, [customInfo]); const whClassStyle = useMemo(() => { diff --git a/assets/js/hooks/Mapper/components/mapInterface/widgets/SystemSignatures/renders/renderInfoColumn.tsx b/assets/js/hooks/Mapper/components/mapInterface/widgets/SystemSignatures/renders/renderInfoColumn.tsx index e384f27e..374abaef 100644 --- a/assets/js/hooks/Mapper/components/mapInterface/widgets/SystemSignatures/renders/renderInfoColumn.tsx +++ b/assets/js/hooks/Mapper/components/mapInterface/widgets/SystemSignatures/renders/renderInfoColumn.tsx @@ -1,5 +1,5 @@ import { SystemViewStandalone, TooltipPosition, WHClassView } from '@/hooks/Mapper/components/ui-kit'; -import { SignatureGroup, SystemSignature } from '@/hooks/Mapper/types'; +import { SignatureGroup, SystemSignature, TimeStatus } from '@/hooks/Mapper/types'; import { PrimeIcons } from 'primereact/api'; import { renderK162Type } from '@/hooks/Mapper/components/mapRootContent/components/SignatureSettings/components/SignatureK162TypeSelect'; @@ -20,7 +20,7 @@ export const renderInfoColumn = (row: SystemSignature) => {