Skip to content

Commit

Permalink
fix(app): fix door open banner showing after a run was cancelled on d…
Browse files Browse the repository at this point in the history
…esktop app (#17037)

Closes RQA-3734
  • Loading branch information
mjhuff authored Dec 4, 2024
1 parent bce6cd0 commit 20f8538
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export function getShowGenericRunHeaderBanners({

const showDoorOpenBeforeRunBanner =
isDoorOpen &&
isCancellableStatus(runStatus) &&
runStatus !== RUN_STATUS_BLOCKED_BY_OPEN_DOOR &&
runStatus !== RUN_STATUS_AWAITING_RECOVERY_BLOCKED_BY_OPEN_DOOR &&
runStatus !== RUN_STATUS_AWAITING_RECOVERY_PAUSED
isCancellableStatus(runStatus)

const showDoorOpenDuringRunBanner =
runStatus === RUN_STATUS_BLOCKED_BY_OPEN_DOOR
Expand Down

0 comments on commit 20f8538

Please sign in to comment.