Don't allow sort resetting for vulnerability list
What does this MR do and why?
This MR adds the no-sort-reset
prop to the vulnerability list to prevent it from resetting the sort when unsortable columns are clicked. By default, b-table
allows the user to reset the sort by clicking on an unsortable column:
https://bootstrap-vue.org/docs/components/table
Clicking on a non-sortable column will clear the sorting (the prop no-sort-reset can be used to disable this feature).
but the vulnerability list must always have a sort. Disallowing the sort to be cleared will also avoid some bugs that occur when there is no sort.
Before | After |
---|---|
Peek_2022-03-10_01-08 | Peek_2022-03-10_01-07 |
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #352208 (closed)