diff --git a/protocol-designer/src/organisms/ProtocolNavBar/index.tsx b/protocol-designer/src/organisms/ProtocolNavBar/index.tsx index f21efb0fd3a..6ae4b21ff45 100644 --- a/protocol-designer/src/organisms/ProtocolNavBar/index.tsx +++ b/protocol-designer/src/organisms/ProtocolNavBar/index.tsx @@ -30,6 +30,7 @@ interface ProtocolNavBarProps { showLiquidOverflowMenu?: (liquidOverflowMenu: boolean) => void isAddingHardwareOrLabware?: boolean liquidPage?: boolean + isOffDeck?: boolean } export function ProtocolNavBar({ @@ -39,6 +40,7 @@ export function ProtocolNavBar({ hasTrashEntity, showLiquidOverflowMenu, liquidPage = false, + isOffDeck = false, }: ProtocolNavBarProps): JSX.Element { const { t } = useTranslation('starting_deck_state') const metadata = useSelector(getFileMetadata) @@ -54,13 +56,18 @@ export function ProtocolNavBar({ {metadata?.protocolName != null && metadata?.protocolName !== '' ? metadata?.protocolName : t('untitled_protocol')} - - {isAddingHardwareOrLabware + + {isAddingHardwareOrLabware || isOffDeck ? t('add_hardware_labware') : t('edit_protocol')} diff --git a/protocol-designer/src/pages/Designer/Offdeck/Offdeck.tsx b/protocol-designer/src/pages/Designer/Offdeck/Offdeck.tsx index 66182e8dd93..c972c41d084 100644 --- a/protocol-designer/src/pages/Designer/Offdeck/Offdeck.tsx +++ b/protocol-designer/src/pages/Designer/Offdeck/Offdeck.tsx @@ -110,9 +110,9 @@ export function OffDeck(props: DeckSetupTabType): JSX.Element { } return ( - + {selectedSlot.slot === 'offDeck' ? ( - + {tab === 'startingDeck' ? (