DependencyTrack / DependencyTrack/frontend
Policy condition fails to be visually removed when deleted
- Dominant language
- Vue
- Stars
- 171
- Forks
- 250
- Avg merge
- 11h 12m
- Merged PRs (30d)
- 82
Description
### Current Behavior
When the delete button is clicked, the policy condition is not removed from the list. Although the request to the API goes through, the frontend fails to remove the item visually.
There's an error in console

By refreshing the page deleted item is gone.
### Steps to Reproduce
1. [OK] Login to DepenendyTrack
2. [OK] Navigate to Policy Management
3. [OK] Create new Policy
4. [OK] Add policy condition - make sure condition is saved
5. [NOK] Delete policy condition by clicking on delete icon. Toast notification is shown, but deleted row remains.
### Expected Behavior
Expected the policy condition to be removed from the list when the delete button is clicked.
Version is actually 4.8.2, but it isn't selectable.
### Dependency-Track Frontend Version
4.8.1
### Browser
Google Chrome
### Browser Version
115.0.5790.102
### Operating System
Windows
### Checklist
- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.