fix: Fixed loading logic for vulnerability tab
Signed-off-by: Raul Kele <raulkeleblk@gmail.com>
This commit is contained in:
parent
17e62d6441
commit
a0200cfb68
@ -194,11 +194,12 @@ function VulnerabilitiesDetails(props) {
|
||||
cveList: cveInfo?.CVEList
|
||||
};
|
||||
setCveData(cveListData);
|
||||
setIsLoading(false);
|
||||
}
|
||||
setIsLoading(false);
|
||||
})
|
||||
.catch((e) => {
|
||||
console.error(e);
|
||||
setIsLoading(false);
|
||||
setCveData({});
|
||||
});
|
||||
return () => {
|
||||
|
Loading…
Reference in New Issue
Block a user