From a78ea71b0051fbcb1d8ebc27bf09e097074b4e56 Mon Sep 17 00:00:00 2001 From: Nick Diehl <47604184+ncdiehl11@users.noreply.github.com> Date: Thu, 9 May 2024 16:54:59 -0400 Subject: [PATCH] fix(app): ensure liquids nested in labware on adapter in module show on liquid map (#15132) Closes RQA-2699 At protocol setup on desktop, when viewing liquid setup > map view, liquids are incorrectly set to null for labware nested on an adapter, which is in turn nested on a module. We need to pass the topmost nested labware to getWellFillFromLabwareId to correctly return populated well fill. --- .../Devices/ProtocolRun/SetupLiquids/SetupLiquidsMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/organisms/Devices/ProtocolRun/SetupLiquids/SetupLiquidsMap.tsx b/app/src/organisms/Devices/ProtocolRun/SetupLiquids/SetupLiquidsMap.tsx index 352bcf021e8..623fe6905ad 100644 --- a/app/src/organisms/Devices/ProtocolRun/SetupLiquids/SetupLiquidsMap.tsx +++ b/app/src/organisms/Devices/ProtocolRun/SetupLiquids/SetupLiquidsMap.tsx @@ -82,7 +82,7 @@ export function SetupLiquidsMap( labwareInAdapterInMod?.params.displayName ?? module.nestedLabwareDisplayName const nestedLabwareWellFill = getWellFillFromLabwareId( - module.nestedLabwareId ?? '', + topLabwareId ?? '', liquids, labwareByLiquidId )