From b95030c5bfcdbff16ae6e6e9573992b52ffe4ef7 Mon Sep 17 00:00:00 2001
From: Thibault Camlane
Date: Tue, 10 Jun 2025 15:28:26 +0200
Subject: [PATCH] fix: Fix satellite page loading issue
---
frontend/src/app/satellites/[satelliteSlug]/page.tsx | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/frontend/src/app/satellites/[satelliteSlug]/page.tsx b/frontend/src/app/satellites/[satelliteSlug]/page.tsx
index 8422582..164f7f4 100644
--- a/frontend/src/app/satellites/[satelliteSlug]/page.tsx
+++ b/frontend/src/app/satellites/[satelliteSlug]/page.tsx
@@ -114,9 +114,11 @@ export default async function SatelliteInfoPage({
: null}
-
-
-
+ {satAttributes.missionStatus === "ON ORBIT" ? (
+
+
+
+ ) : null}
{/* Image container */}
@@ -149,7 +151,7 @@ export default async function SatelliteInfoPage({
) : null}
{/* Container for map */}
- {noradId ? (
+ {noradId && satAttributes.missionStatus === "ON ORBIT" ? (