Skip to content

Commit

Permalink
Add output file ids to protocol files display in run history
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Oct 21, 2024
1 parent b157bb4 commit 67a1c45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions api-client/src/runs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface LegacyGoodRunData {
export interface KnownGoodRunData extends LegacyGoodRunData {
ok: true
runTimeParameters: RunTimeParameter[]
outputFileIds: string[]
}

export interface KnownInvalidRunData extends LegacyGoodRunData {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ export function HistoricalProtocolRunDrawer(
return acc
}, [])
: []
if (run.outputFileIds?.length > 0) {

Check failure on line 59 in app/src/organisms/Desktop/Devices/HistoricalProtocolRunDrawer.tsx

View workflow job for this annotation

GitHub Actions / js checks

Property 'outputFileIds' does not exist on type 'RunData'.
runDataFileIds.push(...run.outputFileIds)

Check failure on line 60 in app/src/organisms/Desktop/Devices/HistoricalProtocolRunDrawer.tsx

View workflow job for this annotation

GitHub Actions / js checks

Property 'outputFileIds' does not exist on type 'RunData'.

Check failure on line 60 in app/src/organisms/Desktop/Devices/HistoricalProtocolRunDrawer.tsx

View workflow job for this annotation

GitHub Actions / js checks

Unsafe spread of an `any` type
}

const uniqueLabwareOffsets = allLabwareOffsets?.filter(
(offset, index, array) => {
return (
Expand Down

0 comments on commit 67a1c45

Please sign in to comment.