From 8e2f2d677afc217fc9e9a9be53ef70484534ed56 Mon Sep 17 00:00:00 2001
From: Robin
Date: Wed, 8 Jan 2025 15:07:29 +0100
Subject: [PATCH] added last release date display to github source
---
.../src/components/opportunities/OpportunitySources.tsx | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/frontend/src/components/opportunities/OpportunitySources.tsx b/frontend/src/components/opportunities/OpportunitySources.tsx
index b8a8403..a208275 100644
--- a/frontend/src/components/opportunities/OpportunitySources.tsx
+++ b/frontend/src/components/opportunities/OpportunitySources.tsx
@@ -190,6 +190,14 @@ export function OpportunitySources({ opportunity }: OpportunityDrawerProps) {
>
)}
+ {repo && repo.lastReleasePublishedAt && (
+ <>
+
+ Last release date{" "}
+ {timeAgo(new Date(repo.lastReleasePublishedAt))}{" "}
+
+ >
+ )}