Clean up selection summary component
This MR is a refactor that cleans up selection_summary.vue, used on the vulnerability report for the bulk select feature:
![]() |
It does the following:
-
Remove the
status_dropdown.vuecomponent and combine it intoselection_summary.vue. All the status dropdown component did was pass props toGlDropdown, so there's no need for a separate component just to do that. -
Move
selection_summary.vueinto thevulnerability_reportsfolder. It's only used on the vulnerability reports, so we should move it to where the other report components are. -
Remove unnecessary computed properties and clean up template HTML.
-
Disable the status dropdown and cancel button when the mutations are running. Also add a loading spinner to the "Change status" button:
| Before | After |
|---|---|
![]() |
![]() |
Related to #337599 (closed)


