Добавлена иконка на боковой тултип для отображения/скрытия подсветки датчиков на модели

This commit is contained in:
2026-02-03 13:13:16 +03:00
parent 81b361b282
commit eccc564cc7
9 changed files with 2135 additions and 9 deletions

View File

@@ -103,7 +103,9 @@ const NavigationPage: React.FC = () => {
setSelectedNotification,
setShowNotificationDetectorInfo,
setSelectedAlert,
setShowAlertMenu
setShowAlertMenu,
showSensorHighlights,
toggleSensorHighlights
} = useNavigationStore()
const [detectorsData, setDetectorsData] = useState<{ detectors: Record<string, DetectorType> }>({ detectors: {} })
@@ -574,7 +576,7 @@ const NavigationPage: React.FC = () => {
onError={handleModelError}
activeMenu={showSensors ? 'sensors' : showFloorNavigation ? 'floor' : showListOfDetectors ? 'detectors' : null}
focusSensorId={focusedSensorId}
highlightAllSensors={highlightAllSensors}
highlightAllSensors={showSensorHighlights && highlightAllSensors}
sensorStatusMap={sensorStatusMap}
isSensorSelectionEnabled={showSensors || showFloorNavigation || showListOfDetectors}
onSensorPick={handleSensorSelection}