mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
Remove vuln banner when software filter is removed (#4015)
This commit is contained in:
parent
5584844138
commit
143d5ce874
@ -1346,7 +1346,7 @@ const ManageHostsPage = ({
|
||||
};
|
||||
|
||||
const renderSoftwareVulnerabilities = () => {
|
||||
if (softwareDetails) {
|
||||
if (softwareId && softwareDetails) {
|
||||
return <SoftwareVulnerabilities software={softwareDetails} />;
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user