getDevicesWin() fix

This commit is contained in:
Sebastian Hildebrandt 2022-11-28 14:49:00 +01:00
parent 077ca7880e
commit 9766c028b9

View File

@ -473,7 +473,7 @@ function getDevicesWin(diskDrives) {
if (partitions.length > 1) {
partitions = partitions.slice(1);
partitions.forEach(partition => {
result.push({ name: partition.split(';').toUpperCase(), device });
result.push({ name: partition.split(';')[0].toUpperCase(), device });
});
}
});