Skip to content

Commit

Permalink
Updated API List and Card to contain the lifecycleStage field
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeholdorf committed Dec 20, 2024
1 parent 65fd7a5 commit 34d1d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/Main/ApisList/ApisCards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const ApiCard: FC<{ api: Api }> = ({ api }) => {
<div className={css.tags}>
<span>API</span>
<span>{api.kind}</span>
<span>{api.lifecycleStage}</span>
</div>
)}
<h4>{api.title}</h4>
Expand Down
1 change: 1 addition & 0 deletions src/routes/Main/ApisList/ApisTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const ApisTable: FC<{ apis: Api[] | null }> = ({ apis }) => {
{api.description}
</TableCellLayout>
</TableCell>
<TableCell>{api.lifecycleStage}</TableCell>
<TableCell>{new Date(api.lastUpdated || Date.now()).toLocaleDateString()}</TableCell> {/* <TableCell>TODO</TableCell> */}
{/* <TableCell>TODO</TableCell> */}
</TableRow>
Expand Down

0 comments on commit 34d1d90

Please sign in to comment.