DependencyTrack / DependencyTrack/frontend

Update Project Properties Display After Project Switch via Dropdown

Open
#1,105 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

The project properties dialog displays the properties of project A instead of those of project B after switching via the dropdown.
![Image](https://github.com/user-attachments/assets/056785b5-9b40-4c65-b0e6-108b7952cb99)

### Steps to Reproduce

1. Ensure multiple projects are available in the project dropdown list.
2. Select a project (e.g., Project A)
3. Open the project properties dialog for project A.
4. Select another project (e.g., Project B) from the dropdown list.
5. Open the project properties dialog for Project B.
6. Observe the project properties dialog after switching to project B. Properties from project A are shown

### Expected Behavior

Upon switching to a new project via the dropdown, the dialog should automatically refresh to display the properties of the newly selected project.

### Dependency-Track Frontend Version

4.12.1

### Browser

Google Chrome

### Browser Version

131.0.6778.86

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

Research direction

Reproduce the issue with two projects by opening properties for one project, switching from the project dropdown, and opening properties for the other. Trace the project-selection and properties-dialog entry points to find where the displayed project is retained. Done means the dialog shows the newly selected project's properties after every switch.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.