mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +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: [
|
||||
{
|
||||
name: 'OS Images',
|
||||
extensions: SupportedFormatsModel.getAllExtensions()
|
||||
extensions: _.sortBy(SupportedFormatsModel.getAllExtensions())
|
||||
}
|
||||
]
|
||||
}, (files) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user