Skip to content

Commit

Permalink
fix(protocol-designer): allow custom labware on adapters (#17217)
Browse files Browse the repository at this point in the history
closes RQA-3779
  • Loading branch information
jerader authored Jan 8, 2025
1 parent 7fa1309 commit 9bced85
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions protocol-designer/src/pages/Designer/DeckSetup/LabwareTools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,15 @@ export function LabwareTools(props: LabwareToolsProps): JSX.Element {
)
}
)
: getLabwareCompatibleWithAdapter(
loadName
).map(nestedDefUri => {
const nestedDef = defs[nestedDefUri]
: [
...getLabwareCompatibleWithAdapter(
loadName
),
...Object.keys(customLabwareDefs),
].map(nestedDefUri => {
const nestedDef =
defs[nestedDefUri] ??
customLabwareDefs[nestedDefUri]

return (
<ListButtonRadioButton
Expand Down

0 comments on commit 9bced85

Please sign in to comment.