File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/view/variant-analysis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,13 +27,15 @@ export const VariantAnalysisStatusStats = ({
2727 completedAt,
2828 onViewLogsClick,
2929} : VariantAnalysisStatusStatsProps ) => {
30- if ( variantAnalysisStatus === VariantAnalysisStatus . InProgress ) {
31- return < Icon className = "codicon codicon-loading codicon-modifier-spin" /> ;
32- }
33-
3430 return (
3531 < Container >
36- < span > { completedAt !== undefined ? formatDate ( completedAt ) : "-" } </ span >
32+ { variantAnalysisStatus === VariantAnalysisStatus . InProgress ? (
33+ < div >
34+ < Icon className = "codicon codicon-loading codicon-modifier-spin" />
35+ </ div >
36+ ) : (
37+ < span > { completedAt !== undefined ? formatDate ( completedAt ) : "-" } </ span >
38+ ) }
3739 { onViewLogsClick && (
3840 < VSCodeLink onClick = { onViewLogsClick } > View logs</ VSCodeLink >
3941 ) }
You can’t perform that action at this time.
0 commit comments