[unreleased bug] Fleet UI: Remove stack table controls on vulnerabili… (#17130)
This commit is contained in:
+3
-2
@@ -132,7 +132,9 @@ const SoftwareVulnerabilitiesTable = ({
|
||||
// determines if a user be able to search in the table
|
||||
const searchable =
|
||||
isSoftwareEnabled &&
|
||||
(!!data || query !== "" || showExploitedVulnerabilitiesOnly);
|
||||
(!!data?.vulnerabilities ||
|
||||
query !== "" ||
|
||||
showExploitedVulnerabilitiesOnly);
|
||||
|
||||
const vulnerabilitiesTableHeaders = useMemo(() => {
|
||||
if (!data) return [];
|
||||
@@ -267,7 +269,6 @@ const SoftwareVulnerabilitiesTable = ({
|
||||
customControl={
|
||||
searchable ? renderExploitedVulnerabilitiesDropdown : undefined
|
||||
}
|
||||
stackControls
|
||||
renderCount={renderVulnerabilityCount}
|
||||
renderFooter={renderTableFooter}
|
||||
disableMultiRowSelect
|
||||
|
||||
@@ -10,10 +10,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.empty-table__container {
|
||||
margin: 1.5rem auto;
|
||||
}
|
||||
|
||||
// used to position header text with premium icon correctly
|
||||
.column-header {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user