diff --git a/frontend/src/components/Pages/InspectionPage/ScheduleMissionDialogs.tsx b/frontend/src/components/Pages/InspectionPage/ScheduleMissionDialogs.tsx index 02ae3de0..ba27fc2b 100644 --- a/frontend/src/components/Pages/InspectionPage/ScheduleMissionDialogs.tsx +++ b/frontend/src/components/Pages/InspectionPage/ScheduleMissionDialogs.tsx @@ -65,6 +65,7 @@ export const ScheduleMissionDialog = (props: IProps): JSX.Element => { r.status === RobotStatus.Recharging) && r.isarConnected ) + const onSelectedRobot = (selectedRobot: Robot) => { if (filteredRobots) setSelectedRobot(selectedRobot) } @@ -151,6 +152,7 @@ export const ScheduleMissionDialog = (props: IProps): JSX.Element => { )} r.name + ' (' + r.model.type + ')'} options={filteredRobots}