diff --git a/awx/ui_next/src/screens/Job/JobOutput/JobOutput.jsx b/awx/ui_next/src/screens/Job/JobOutput/JobOutput.jsx
index 768dea9e6c..960210a95e 100644
--- a/awx/ui_next/src/screens/Job/JobOutput/JobOutput.jsx
+++ b/awx/ui_next/src/screens/Job/JobOutput/JobOutput.jsx
@@ -705,10 +705,6 @@ function JobOutput({
/>
);
- if (hasContentLoading) {
- return ;
- }
-
if (contentError) {
return ;
}
@@ -779,21 +775,29 @@ function JobOutput({
{({ width, height }) => {
return (
- {
- registerChild(ref);
- listRef.current = ref;
- }}
- deferredMeasurementCache={cache}
- height={height || 1}
- onRowsRendered={onRowsRendered}
- rowCount={remoteRowCount}
- rowHeight={cache.rowHeight}
- rowRenderer={rowRenderer}
- scrollToAlignment="start"
- width={width || 1}
- overscanRowCount={20}
- />
+ <>
+ {hasContentLoading ? (
+
+
+
+ ) : (
+ {
+ registerChild(ref);
+ listRef.current = ref;
+ }}
+ deferredMeasurementCache={cache}
+ height={height || 1}
+ onRowsRendered={onRowsRendered}
+ rowCount={remoteRowCount}
+ rowHeight={cache.rowHeight}
+ rowRenderer={rowRenderer}
+ scrollToAlignment="start"
+ width={width || 1}
+ overscanRowCount={20}
+ />
+ )}
+ >
);
}}