From 8bff05b0cf45c9dd58bbd77b0f0c02dc58f45c36 Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Mon, 6 Oct 2025 01:18:11 +0800 Subject: [PATCH] misc: added message for when session logs aren't uploaded --- .../components/PamSessionLogsSection.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx index 0e3854164..158143d5d 100644 --- a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx +++ b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx @@ -69,7 +69,18 @@ export const PamSessionLogsSection = ({ session }: Props) => { }) ) : (
- No session logs + {session.startedAt && session.endedAt ? ( +
+
Session logs are not available
+
+ Logs failed to upload from the Gateway. +
+ Please contact your Gateway administrators. +
+
+ ) : ( + "No session logs" + )}
)}