Skip to content
Snippets Groups Projects
Unverified Commit 7e04226b authored by Daniel Gale-Rosen's avatar Daniel Gale-Rosen Committed by GitHub
Browse files

Sort filters before creating dropdown (#2719)

* sort filters before creating dropdown

* add release notes
parent b0f55fae
No related branches found
No related tags found
No related merge requests found
......@@ -362,6 +362,7 @@ export function FilterButton({ onApply, compact, hover, exclude }) {
}}
items={filterFields
.filter(f => (exclude ? !exclude.includes(f[0]) : true))
.sort()
.map(([name, text]) => ({
name,
text: titleFirst(text),
......
---
category: Enhancements
authors: [dangrous]
---
Alphabetize the filter list in the dropdown
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment