Skip to content

Commit

Permalink
fix(protocol-designer): allow custom labware on adapters
Browse files Browse the repository at this point in the history
closes RQA-3779
  • Loading branch information
jerader committed Dec 20, 2024
1 parent 3fe50e4 commit 852bd11
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 @@ -437,10 +437,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 852bd11

Please sign in to comment.