mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +00:00
Show system drives last
Change-type: patch
This commit is contained in:
parent
b32c4ee728
commit
ba16995070
@ -134,6 +134,8 @@ function storeReducer(
|
||||
}
|
||||
|
||||
drives = _.sortBy(drives, [
|
||||
// System drives last
|
||||
(d) => !!d.isSystem,
|
||||
// Devices with no devicePath first (usbboot)
|
||||
(d) => !!d.devicePath,
|
||||
// Then sort by devicePath (only available on Linux with udev) or device
|
||||
|
Loading…
x
Reference in New Issue
Block a user