misc: added message for when session logs aren't uploaded

This commit is contained in:
Sheen Capadngan
2025-10-06 01:18:11 +08:00
parent 8aed8ca486
commit 8bff05b0cf

View File

@@ -69,7 +69,18 @@ export const PamSessionLogsSection = ({ session }: Props) => {
})
) : (
<div className="flex w-full grow items-center justify-center text-bunker-300">
No session logs
{session.startedAt && session.endedAt ? (
<div className="text-center">
<div className="mb-2">Session logs are not available</div>
<div className="text-xs text-bunker-400">
Logs failed to upload from the Gateway.
<br />
Please contact your Gateway administrators.
</div>
</div>
) : (
"No session logs"
)}
</div>
)}
</div>