@@ -655,51 +707,7 @@ const ManageSoftwarePage = ({
{renderHeaderDescription()}
-
- {(softwareError && !isFetchingSoftware) ||
- (softwareConfigError && !isFetchingSoftwareConfig) ? (
-
- ) : (
-
(
-
- )}
- defaultSortHeader={sortHeader || DEFAULT_SORT_HEADER}
- defaultSortDirection={sortDirection || DEFAULT_SORT_DIRECTION}
- defaultPageIndex={page || 0}
- defaultSearchQuery={searchQuery}
- manualSortBy
- pageSize={DEFAULT_PAGE_SIZE}
- showMarkAllPages={false}
- isAllPagesSelected={false}
- resetPageIndex={resetPageIndex}
- disableNextPage={isLastPage}
- searchable={searchable}
- inputPlaceHolder="Search software by name or vulnerabilities (CVEs)"
- onQueryChange={onQueryChange}
- additionalQueries={filterVuln ? "vulnerable" : ""} // additionalQueries serves as a trigger
- // for the useDeepEffect hook to fire onQueryChange for events happeing outside of
- // the TableContainer
- customControl={searchable ? renderVulnFilterDropdown : undefined}
- stackControls
- renderCount={renderSoftwareCount}
- renderFooter={renderTableFooter}
- disableMultiRowSelect
- onSelectSingleRow={handleRowSelect}
- />
- )}
-
+
{renderSoftwareTable()}
{showManageAutomationsModal && (