Skip to content

Commit

Permalink
Filter plate reader lid out of protocol details list view desktop and…
Browse files Browse the repository at this point in the history
… odd
  • Loading branch information
smb2268 committed Oct 13, 2024
1 parent afefc5e commit a9a65f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/src/organisms/Desktop/ProtocolDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,10 @@ export function ProtocolDetails(
: []
),
}).filter(
labware => labware.result?.definition?.parameters?.format !== 'trash'
labware =>
labware.result?.definition?.parameters?.format !== 'trash' &&
labware?.params?.loadName !==
'opentrons_flex_lid_absorbance_plate_reader_module'
)
: []

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export function getLabwareSetupItemGroups(
commands.reduce<LabwareSetupItem[]>((acc, c) => {
if (
c.commandType === 'loadLabware' &&
c.result?.definition?.metadata?.displayCategory !== 'trash'
c.result?.definition?.metadata?.displayCategory !== 'trash' &&
c.result?.params?.loadName !==
'opentrons_flex_lid_absorbance_plate_reader_module'
) {
const { location, displayName } = c.params
const { definition } = c.result ?? {}
Expand Down

0 comments on commit a9a65f2

Please sign in to comment.