Commit 06e9e043 authored by Mark Florian's avatar Mark Florian

Sort Dependency List by severity by default

Part of [Update dependencies table UI][1].

[1]: https://gitlab.com/gitlab-org/gitlab/-/issues/195928
parent 919fd2dc
......@@ -15,6 +15,6 @@ export default () => ({
generatedAt: '',
},
filter: FILTER.all,
sortField: 'name',
sortField: 'severity',
sortOrder: SORT_ORDER.ascending,
});
---
title: Sort Dependency List by severity by default
merge_request: 28654
author:
type: changed
......@@ -10,14 +10,14 @@ exports[`DependenciesActions component matches the snapshot 1`] = `
<gl-dropdown-stub
class="flex-grow-1 text-center"
right=""
text="Component name"
text="Severity"
>
<gl-dropdown-item-stub>
<span
class="d-flex"
>
<gl-icon-stub
class="flex-shrink-0 append-right-4"
class="flex-shrink-0 append-right-4 invisible"
name="mobile-issue-close"
size="16"
/>
......@@ -45,7 +45,7 @@ exports[`DependenciesActions component matches the snapshot 1`] = `
class="d-flex"
>
<gl-icon-stub
class="flex-shrink-0 append-right-4 invisible"
class="flex-shrink-0 append-right-4"
name="mobile-issue-close"
size="16"
/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment