We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f6df6d commit b8dd3f3Copy full SHA for b8dd3f3
app/src/organisms/Devices/ProtocolRun/ProtocolRunHeader.tsx
@@ -497,7 +497,10 @@ function ActionButton(props: ActionButtonProps): JSX.Element {
497
isProtocolAnalyzing ||
498
(runStatus != null && DISABLED_STATUSES.includes(runStatus)) ||
499
isRobotOnWrongVersionOfSoftware ||
500
- isDoorOpen
+ (isDoorOpen &&
501
+ runStatus !== RUN_STATUS_BLOCKED_BY_OPEN_DOOR &&
502
+ runStatus != null &&
503
+ CANCELLABLE_STATUSES.includes(runStatus))
504
const handleProceedToRunClick = (): void => {
505
trackEvent({ name: ANALYTICS_PROTOCOL_PROCEED_TO_RUN, properties: {} })
506
play()
0 commit comments