Remove vuln banner when software filter is removed (#4015)

This commit is contained in:
gillespi314 2022-02-03 18:49:03 -06:00 committed by GitHub
parent 5584844138
commit 143d5ce874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1346,7 +1346,7 @@ const ManageHostsPage = ({
};
const renderSoftwareVulnerabilities = () => {
if (softwareDetails) {
if (softwareId && softwareDetails) {
return <SoftwareVulnerabilities software={softwareDetails} />;
}
return null;