Skip to content

Commit

Permalink
fix(app): don't show desktop banner when awaiting recovery paused
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Oct 14, 2024
1 parent 593443b commit 7909bde
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
RUN_STATUS_AWAITING_RECOVERY_BLOCKED_BY_OPEN_DOOR,
RUN_STATUS_AWAITING_RECOVERY_PAUSED,
RUN_STATUS_BLOCKED_BY_OPEN_DOOR,
RUN_STATUS_STOPPED,
} from '@opentrons/api-client'
Expand Down Expand Up @@ -32,7 +33,8 @@ export function getShowGenericRunHeaderBanners({
isDoorOpen &&
runStatus !== RUN_STATUS_BLOCKED_BY_OPEN_DOOR &&
runStatus !== RUN_STATUS_AWAITING_RECOVERY_BLOCKED_BY_OPEN_DOOR &&
isCancellableStatus(runStatus)
runStatus !== RUN_STATUS_AWAITING_RECOVERY_PAUSED
isCancellableStatus(runStatus)

const showDoorOpenDuringRunBanner =
runStatus === RUN_STATUS_BLOCKED_BY_OPEN_DOOR
Expand Down

0 comments on commit 7909bde

Please sign in to comment.