-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed vuln status button in All Vulns table (#683)
- Fixed the broken status toggle button in the All Vulnerabilities table. - Built row scoped menu state so that each menu is independent of the others and would carry its own id. - This id is used to determine an index, which is then passed along with the substate to the updateVulnerability function. - setVulnerabilities is called with the updated vulnerability object, which is then used to update the vulnerability in the table. - Removed setIsLoading from the updateVulnerability function. Was already handled in the useEffect.
- Loading branch information
1 parent
7bfe865
commit d9a802e
Showing
1 changed file
with
60 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters