diff --git a/src/components/run/RunContent.tsx b/src/components/run/RunContent.tsx index fa181319..cb3b63a6 100644 --- a/src/components/run/RunContent.tsx +++ b/src/components/run/RunContent.tsx @@ -1,4 +1,4 @@ -import { Box, Tabs, Typography, Tab, Paper, Button } from "@mui/material"; +import { Box, Tabs, Typography, Tab, Paper, Button, CircularProgress } from "@mui/material"; import Highlight from "react-highlight"; import * as React from "react"; import { Data } from "./RunsTable"; @@ -148,9 +148,15 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe : null} - {!row || !row.serializableOutput || !row.binaryOutput + {interpretationInProgress ? ( + + + {t('run_content.loading')} + + ) : (!row || !row.serializableOutput || !row.binaryOutput || (Object.keys(row.serializableOutput).length === 0 && Object.keys(row.binaryOutput).length === 0) - ? {t('run_content.empty_output')} : null} + ? {t('run_content.empty_output')} + : null)} {row.serializableOutput && Object.keys(row.serializableOutput).length !== 0 &&