aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2023-05-23 10:42:21 +0300
committerRoy <Roy.mail.net@gmail.com>2023-05-23 10:42:21 +0300
commit304735006580cb2f6728bedeb3393dbefc2e14f5 (patch)
tree8650d4baeb0b4db1f68b0fae3a0a8ddb7e66bdc0 /Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
parent79cc4b56962ca4a508be501f7f2fb42938a3a073 (diff)
parentb981d43669a2cdcd9f7971e897ded9f1422f5b31 (diff)
downloadTango-304735006580cb2f6728bedeb3393dbefc2e14f5.tar.gz
Tango-304735006580cb2f6728bedeb3393dbefc2e14f5.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,