Skip to content

Commit 2bab468

Browse files
authored
fix: Remove extraneous slash from certain PathBoxItems (#6607)
1 parent 1e81c4c commit 2bab468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Files/Filesystem/StorageFileHelpers/StorageFileExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private static PathBoxItem GetPathItem(string component, string path)
3737
return new PathBoxItem()
3838
{
3939
Title = allDrives.FirstOrDefault(y => y.ItemType == NavigationControlItemType.Drive && y.Path.Contains(component, StringComparison.OrdinalIgnoreCase)) != null ?
40-
allDrives.FirstOrDefault(y => y.ItemType == NavigationControlItemType.Drive && y.Path.Contains(component, StringComparison.OrdinalIgnoreCase)).Text : $@"Drive ({component}\)",
40+
allDrives.FirstOrDefault(y => y.ItemType == NavigationControlItemType.Drive && y.Path.Contains(component, StringComparison.OrdinalIgnoreCase)).Text : $@"Drive ({component})",
4141
Path = path,
4242
};
4343
}

0 commit comments

Comments
 (0)