aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy.mail.net@gmail.com>2023-05-18 10:49:54 +0300
committerRoy Ben-Shabat <Roy.mail.net@gmail.com>2023-05-18 10:49:54 +0300
commitd4164f5ad19674a20385a6666ccb5d302db406f1 (patch)
tree82ca9560bab2faa533b75565820455eadec6b9c3 /Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
parentadc3cb7ad1fd46a2417c5a0ff1725aa67d04a503 (diff)
parent8e77a83a73410f388b3a879c3082eb7bf6064657 (diff)
downloadTango-d4164f5ad19674a20385a6666ccb5d302db406f1.tar.gz
Tango-d4164f5ad19674a20385a6666ccb5d302db406f1.zip
Merge branch 'eureka' of https://twinetfs.visualstudio.com/Tango/_git/Tango into eureka
Diffstat (limited to 'Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs')
-rw-r--r--Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs b/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
index dc8efa7dd..9c112ae75 100644
--- a/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
+++ b/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
@@ -19,7 +19,7 @@ namespace Tango.FileSystem
folder.Path = "This PC";
folder.IsRoot = true;
folder.Type = FileSystemItemType.Folder;
- folder.Items = DriveInfo.GetDrives().Where(x => x.DriveType == DriveType.Fixed || x.DriveType == DriveType.Removable || x.DriveType == DriveType.Network).Select(x => new FileSystemItemDTO()
+ folder.Items = DriveInfo.GetDrives().Where(x => x.DriveType == DriveType.Fixed || x.DriveType == DriveType.Removable || x.DriveType == DriveType.Network).Where(x => x.IsReady).Select(x => new FileSystemItemDTO()
{
Path = x.RootDirectory.FullName,
DriveType = x.DriveType,