DependencyTrack / DependencyTrack/frontend

Number of components updates when searching

Open
#1,306 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Vue
Stars
171
Forks
250
Avg merge
11h 12m
Merged PRs (30d)
82

Description

### Current Behavior

When you go into the "Components" section of a project and you search for a component, the number of components shown in the "Component" tab updates with the number of the search results.
To me this behavior is counter-intuitive, since I was expecting the number shown in the "Component" tab to never change (unless a new BOM is provided). In addition, this is not what happens in the "Audit Vulnerabilities" and "Exploit Predictions" sections where the number shown next to each tab never changes, even after a search within these sections.

### Steps to Reproduce

1. Log in to DT
2. Go to "Projects"
3. Select a project
4. Click on "Components" tab
5. In the search bar search for anything
6. The number shown on the right in the "Components" tab gets updated

### Expected Behavior

The number shown on the right in the "Components" tab should not change with a search.

### Dependency-Track Frontend Version

4.13.3

### Browser

Google Chrome

### Browser Version

138.0.7204.168

### Operating System

Linux

### 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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.