Skip to content

Commit

Permalink
fix(protocol-designer): allow custom labware on adapters (#17162)
Browse files Browse the repository at this point in the history
closes RQA-3779
  • Loading branch information
jerader authored Jan 7, 2025
1 parent c7198a3 commit e1f65a2
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 @@ -438,10 +438,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 e1f65a2

Please sign in to comment.