Skip to content

Commit

Permalink
Remove Author and Label title from the dashboard cards
Browse files Browse the repository at this point in the history
Signed-off-by: Brent Salisbury <bsalisbu@redhat.com>
  • Loading branch information
nerdalert committed Aug 29, 2024
1 parent e43e1fd commit 1e9cf57
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/components/Dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,10 @@ const Index: React.FunctionComponent = () => {
<CardTitle>{pr.title}</CardTitle>
<CardBody>
<Flex justifyContent={{ default: 'justifyContentSpaceBetween' }}>
<FlexItem>State: {pr.state}</FlexItem>
<FlexItem>Created At: {new Date(pr.created_at).toLocaleString()}</FlexItem>
<FlexItem>Updated At: {new Date(pr.updated_at).toLocaleString()}</FlexItem>
<FlexItem>
<strong>Author:</strong> {pr.user.login}
</FlexItem>
<FlexItem>
<strong>State:</strong> {pr.state}
</FlexItem>
<FlexItem>
<strong>Created At:</strong> {new Date(pr.created_at).toLocaleString()}
</FlexItem>
<FlexItem>
<strong>Updated At:</strong> {new Date(pr.updated_at).toLocaleString()}
</FlexItem>
<FlexItem>
<strong>Labels:</strong>
{pr.labels.map((label) => (
<Label key={label.name} color="blue" style={{ marginRight: '5px' }}>
{label.name}
Expand Down

0 comments on commit 1e9cf57

Please sign in to comment.