From 04f88e27249751260c504fac85d0e92340a20846 Mon Sep 17 00:00:00 2001 From: Carlos Fontes Date: Wed, 4 Dec 2024 12:07:25 +0000 Subject: [PATCH] chore: minor fixes --- .../SubmissionsTool/SubmissionsListPage/SubmissionCard.tsx | 1 + .../SubmissionsTool/SubmissionsListPage/SubmissionsListPage.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionCard.tsx b/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionCard.tsx index 1ee68e379..fdd74bb57 100644 --- a/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionCard.tsx +++ b/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionCard.tsx @@ -85,6 +85,7 @@ export const SubmissionCard = ({ const getText = () => { const labels = (ghIssue as GithubPR).labels; if (labels.includes("complete-fix") && labels.includes("complete-test")) { + console.log(ghIssue); return `COMPLETE (fix & test) -> ${(ghIssue as GithubPR).linkedIssue?.severity}`; } else if (labels.includes("complete-fix")) { return `COMPLETE (fix) -> ${(ghIssue as GithubPR).linkedIssue?.severity}`; diff --git a/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionsListPage.tsx b/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionsListPage.tsx index 59f54da56..5e45e9b24 100644 --- a/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionsListPage.tsx +++ b/packages/web/src/pages/CommitteeTools/SubmissionsTool/SubmissionsListPage/SubmissionsListPage.tsx @@ -695,7 +695,7 @@ export const SubmissionsListPage = () => { submission={submission} ghIssue={ getGhIssueFromSubmission(submission, vaultGithubIssues) || - getGhPRFromSubmission(submission, vaultGithubPRs) + getGhPRFromSubmission(submission, vaultGithubPRs, vaultGithubIssues) } /> );