Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No proper update of displayed 'Primary' fields in assets table #294

Closed
CyberPoly1000 opened this issue Apr 19, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@CyberPoly1000
Copy link

The 'Primary' label of primary assets, displayed besides the name of the asset does not get updated when moving to another page, where only Secondary assets are displayed (and thus no label at all should appear).

Steps to reproduce the behavior:

  1. Create one or more Primary assets
  2. Create more than 10 other secondary assets (or less depending on the number of asset to display) in order to have at least 2 pages to be displayed
  3. Go from one page to another and see the label appear next to secondary assets

Normally, the 'Primary' label should disappear next to secondary assets.

Screenshots
Screenshot_2024-04-19_13-59-42
Screenshot_2024-04-19_14-01-03
Screenshot_2024-04-19_14-01-22

  • Device: Virtual Box VM
  • OS: OpenSuse 15
  • Browser: Firefox
  • Version : 102.11.0esr
@Mohamed-Hacene
Copy link
Collaborator

Hi @CyberPoly1000, thanks for your issue !

I was able to reproduce your error, I will let you know here once it is fixed.

@ab-smith ab-smith added the bug Something isn't working label Apr 20, 2024
@CyberPoly1000
Copy link
Author

Same behaviour is seen in other tables with the same kind of field display. For instance, in a risk assessment, the risk scenarios have 'Opened' or 'Mitigated' field displayed. When navigating through pages, these fields do not get updated.

@ab-smith ab-smith linked a pull request May 13, 2024 that will close this issue
@Mohamed-Hacene
Copy link
Collaborator

This issue should be fixed now on main branch with PR #427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants