mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 18:56:31 +00:00
feat(gui): sort file picker extensions alphabetically (#991)
We sort the supported file extensions listed in the file picker in alphabetical order. See: https://github.com/resin-io/etcher/issues/984 Changelog-Entry: Sort supported extensions alphabetically in the image file-picker. Change-Type: patch
This commit is contained in:
parent
de6ad80038
commit
ec3c74d7e5
@ -57,7 +57,7 @@ module.exports = function($q, SupportedFormatsModel) {
|
|||||||
filters: [
|
filters: [
|
||||||
{
|
{
|
||||||
name: 'OS Images',
|
name: 'OS Images',
|
||||||
extensions: SupportedFormatsModel.getAllExtensions()
|
extensions: _.sortBy(SupportedFormatsModel.getAllExtensions())
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}, (files) => {
|
}, (files) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user