Skip to content

Commit

Permalink
fix(app): prevent eternal intervention purgatory (#15788)
Browse files Browse the repository at this point in the history
If you click on a run that has an intervention modal due to a pause, move labware, etc., you shouldn't have to stare at that run until you close or your app, deal with the robot, or contemplate your navigation actions for all eternity. Navigating away should be a legitimate option.
  • Loading branch information
mjhuff authored Jul 24, 2024
1 parent e4c829c commit 9344672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/organisms/RunProgressMeter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
} from '@opentrons/api-client'

import { useMostRecentCompletedAnalysis } from '../LabwarePositionCheck/useMostRecentCompletedAnalysis'
import { getTopPortalEl } from '../../App/portal'
import { getModalPortalEl } from '../../App/portal'
import { Tooltip } from '../../atoms/Tooltip'
import { CommandText } from '../../molecules/Command'
import { useRunStatus } from '../RunTimeControl/hooks'
Expand Down Expand Up @@ -175,7 +175,7 @@ export function RunProgressMeter(props: RunProgressMeterProps): JSX.Element {
run={runData}
analysis={analysis}
/>,
getTopPortalEl()
getModalPortalEl()
)
: null}
<Flex flexDirection={DIRECTION_COLUMN} gridGap={SPACING.spacing4}>
Expand Down

0 comments on commit 9344672

Please sign in to comment.