Skip to content

Commit

Permalink
fix(app): add high res mag block image
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Nov 19, 2024
1 parent 504b098 commit ce7ba60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added app/src/assets/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion app/src/local-resources/modules/utils/getModuleImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import thermoModuleGen1HighRes from '/app/assets/images/modules/thermocyclerModu
import heaterShakerModuleHighRes from '/app/assets/images/modules/[email protected]'
import thermoModuleGen2 from '/app/assets/images/thermocycler_gen_2_closed.png'
import magneticBlockGen1 from '/app/assets/images/magnetic_block_gen_1.png'
import magneticBlockGen1HighRes from '/app/assets/images/[email protected]'
import absorbanceReader from '/app/assets/images/opentrons_plate_reader.png'

import type { ModuleModel } from '@opentrons/shared-data'
Expand All @@ -30,7 +31,7 @@ export function getModuleImage(
case 'thermocyclerModuleV2':
return thermoModuleGen2
case 'magneticBlockV1':
return magneticBlockGen1
return highRes ? magneticBlockGen1HighRes : magneticBlockGen1
case 'absorbanceReaderV1':
return absorbanceReader
default:
Expand Down

0 comments on commit ce7ba60

Please sign in to comment.