Skip to content

Commit

Permalink
addition of adapter to the filter for the manual move modal
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyBatten committed Aug 2, 2024
1 parent a2b5c44 commit aed8b93
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ export function MoveLabwareInterventionContent({
)
)}
{labwareRenderInfo
.filter(l => l.labwareId !== command.params.labwareId)
.filter(
l =>
l.labwareId !== command.params.labwareId &&
!l.labwareDef.allowedRoles?.includes('adapter')
)
.map(({ x, y, labwareDef, labwareId }) => (
<g key={labwareId} transform={`translate(${x},${y})`}>
{labwareDef != null &&
Expand Down

0 comments on commit aed8b93

Please sign in to comment.