diff --git a/frontend/components/TableContainer/TableContainer.tsx b/frontend/components/TableContainer/TableContainer.tsx
index f093f9ef21..f78945e008 100644
--- a/frontend/components/TableContainer/TableContainer.tsx
+++ b/frontend/components/TableContainer/TableContainer.tsx
@@ -232,7 +232,7 @@ const TableContainer = ({
{/* No entities for this result. */}
- {!isLoading && !data ? (
+ {!isLoading && data.length === 0 ? (
) : (
<>
diff --git a/frontend/pages/hosts/HostDetailsPage/EmptySoftware/_styles.scss b/frontend/pages/hosts/HostDetailsPage/EmptySoftware/_styles.scss
index 5397584b95..a0f1dae7a5 100644
--- a/frontend/pages/hosts/HostDetailsPage/EmptySoftware/_styles.scss
+++ b/frontend/pages/hosts/HostDetailsPage/EmptySoftware/_styles.scss
@@ -3,6 +3,7 @@
flex-direction: column;
align-items: center;
margin-top: 80px;
+ margin-bottom: 80px;
&__inner {
display: flex;
diff --git a/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.jsx b/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.jsx
index cfa3e3f5a7..8c8546dc2a 100644
--- a/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.jsx
+++ b/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.jsx
@@ -83,7 +83,7 @@ export class HostDetailsPage extends Component {
showQueryHostModal: false,
showTransferHostModal: false,
showRefetchLoadingSpinner: false,
- softwareState: props.host.software,
+ softwareState: [],
};
}
@@ -495,14 +495,10 @@ export class HostDetailsPage extends Component {
// const { EmptySoftware } = this;
const { onQueryChange } = this;
const { softwareState } = this.state;
- const { host } = this.props;
- const wrapperClassName = `${baseClass}__table`;
+ const { host, isLoadingHost } = this.props;
const tableHeaders = generateTableHeaders();
- // Hardcoded in false for loading table data
- const loadingTableData = false;
-
return (
Software
@@ -524,7 +520,7 @@ export class HostDetailsPage extends Component {