add to pull request entities
Signed-off-by: Ceri Goff <ceri.goff@aa.com>
This commit is contained in:
+3
@@ -59,6 +59,9 @@ jest.mock('../../hooks/usePullRequestsByTeam', () => {
|
||||
},
|
||||
isArchived: isArchived,
|
||||
},
|
||||
labels: {
|
||||
nodes: [],
|
||||
},
|
||||
isDraft: isDraft,
|
||||
author: {
|
||||
login: authorLogin,
|
||||
|
||||
+2
@@ -113,6 +113,7 @@ const EntityTeamPullRequestsCard = (props: EntityTeamPullRequestsCardProps) => {
|
||||
latestReviews,
|
||||
repository,
|
||||
isDraft,
|
||||
labels,
|
||||
},
|
||||
index,
|
||||
) =>
|
||||
@@ -135,6 +136,7 @@ const EntityTeamPullRequestsCard = (props: EntityTeamPullRequestsCardProps) => {
|
||||
repositoryName={repository.name}
|
||||
repositoryIsArchived={repository.isArchived}
|
||||
isDraft={isDraft}
|
||||
labels={labels.nodes}
|
||||
/>
|
||||
),
|
||||
)}
|
||||
|
||||
+3
@@ -59,6 +59,9 @@ jest.mock('../../hooks/usePullRequestsByTeam', () => {
|
||||
},
|
||||
isArchived: isArchived,
|
||||
},
|
||||
labels: {
|
||||
nodes: [],
|
||||
},
|
||||
isDraft: isDraft,
|
||||
author: {
|
||||
login: authorLogin,
|
||||
|
||||
+2
@@ -105,6 +105,7 @@ const EntityTeamPullRequestsContent = (
|
||||
latestReviews,
|
||||
repository,
|
||||
isDraft,
|
||||
labels,
|
||||
},
|
||||
index,
|
||||
) =>
|
||||
@@ -127,6 +128,7 @@ const EntityTeamPullRequestsContent = (
|
||||
repositoryName={repository.name}
|
||||
repositoryIsArchived={repository.isArchived}
|
||||
isDraft={isDraft}
|
||||
labels={labels.nodes}
|
||||
/>
|
||||
),
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user