diff --git a/app/src/organisms/ChooseRobotToRunProtocolSlideout/index.tsx b/app/src/organisms/ChooseRobotToRunProtocolSlideout/index.tsx index f16371f6aa4..0b145340852 100644 --- a/app/src/organisms/ChooseRobotToRunProtocolSlideout/index.tsx +++ b/app/src/organisms/ChooseRobotToRunProtocolSlideout/index.tsx @@ -204,9 +204,9 @@ export function ChooseRobotToRunProtocolSlideoutComponent( first(srcFileNames) ?? protocolKey - // intentionally show both robot types if analysis has any error + // intentionally show both robot types if analysis fails const robotType = - mostRecentAnalysis != null && mostRecentAnalysis.errors.length === 0 + mostRecentAnalysis != null && mostRecentAnalysis.result !== 'not-ok' ? mostRecentAnalysis?.robotType ?? null : null