getDevicesWin() fix
This commit is contained in:
parent
077ca7880e
commit
9766c028b9
@ -473,7 +473,7 @@ function getDevicesWin(diskDrives) {
|
|||||||
if (partitions.length > 1) {
|
if (partitions.length > 1) {
|
||||||
partitions = partitions.slice(1);
|
partitions = partitions.slice(1);
|
||||||
partitions.forEach(partition => {
|
partitions.forEach(partition => {
|
||||||
result.push({ name: partition.split(';').toUpperCase(), device });
|
result.push({ name: partition.split(';')[0].toUpperCase(), device });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user