Commit e2d10e2b authored by Nathan Friend's avatar Nathan Friend

Merge branch '195928-dependency-list-change-default-sort-order-ee' into 'master'

Sort Dependency List by severity by default

See merge request gitlab-org/gitlab!28654
parents abce316f 06e9e043
......@@ -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