DependencyTrack / DependencyTrack/frontend

Force Page Reload After Project Add Version

Open
#841 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue hacktoberfest p3 size/S
Dominant language
Vue
Stars
171
Forks
250
Avg merge
11h 12m
Merged PRs (30d)
82

Description

### Current Behavior

When using the Frontend, a new version of a project is added via View Details -> Add Version

After adding the new version the project version dropdown is unchanged... it does not display the version that was just added.

![image](https://github.com/DependencyTrack/frontend/assets/4938718/655a898a-1b34-4a85-afbf-3f785ee924aa)

### Proposed Behavior

When a version is added the page should perform a force-reload so that the version drop-down will display the version that was just added. This will allow the user to immediately see that what they wanted to create is present... and they can also immediately switch to that version.

![image](https://github.com/DependencyTrack/frontend/assets/4938718/a2666149-a398-43bc-b07f-92f6e5f708fc)

### 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 enhancement was already requested

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.