[FE] Make license sort option available on Project Dependency list

What does this MR do and why?

This MR adds license option to sort options dropdown on Project Dependency list. The functionality has been implemented on the backend and even on calling the /dependencies endpoint with licenses sort option is implemented. This MR just adds it to the dropdown.

Changelog: added EE: true

Screenshots or screen recordings

Screen_Recording_2024-10-15_at_6.01.23_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Select a project which has a successful pipeline run.
  2. Go under Security -> Dependency List
  3. In the Sort filter on the top right, upon expanding, the License option should be visible
  4. Sorting by license (both asc, desc) should work as expected.

Relates to: #493788 (closed)

Edited by Rushik Subba

Merge request reports

Loading