Fixed: FileBrowser not displaying drive letters on Windows.

fixes #1535
pull/3113/head
Taloth Saldono 8 years ago
parent f2ecbe776b
commit f8d97cac7d

@ -113,7 +113,7 @@ namespace NzbDrone.Common.Disk
.Select(d => new FileSystemModel .Select(d => new FileSystemModel
{ {
Type = FileSystemEntityType.Drive, Type = FileSystemEntityType.Drive,
Name = d.VolumeLabel, Name = d.VolumeName,
Path = d.RootDirectory, Path = d.RootDirectory,
LastModified = null LastModified = null
}) })

@ -13,5 +13,6 @@ namespace NzbDrone.Common.Disk
long TotalFreeSpace { get; } long TotalFreeSpace { get; }
long TotalSize { get; } long TotalSize { get; }
string VolumeLabel { get; } string VolumeLabel { get; }
string VolumeName { get; }
} }
} }

Loading…
Cancel
Save