Skip to content

Commit

Permalink
Merge pull request #81 from ceph/pr-80-fix
Browse files Browse the repository at this point in the history
Fix a regression in sha1 handling
  • Loading branch information
zmc authored Aug 14, 2024
2 parents 2342cb6 + 6950c85 commit ae5f377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/RunList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const columns: MRT_ColumnDef<Run>[] = [
header: "hash",
maxSize: 30,
Cell: ({ row }) => {
return row.original.sha1.slice(0, 8);
return row.original.sha1?.slice(0, 8);
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/lib/paddles.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export type Run = {
updated: string;
started: string;
runtime: string;
sha1: string;
sha1: string | null;
results: RunResults;
machine_type: string;
status: RunStatus;
Expand Down

0 comments on commit ae5f377

Please sign in to comment.