enhance: support search repository path

This commit is contained in:
leo 2024-08-23 17:25:21 +08:00
parent a223ec1fc6
commit 854563ef41
No known key found for this signature in database

View file

@ -238,7 +238,8 @@ namespace SourceGit.ViewModels
} }
else else
{ {
node.IsVisible = node.Name.Contains(_searchFilter, StringComparison.OrdinalIgnoreCase); node.IsVisible = node.Name.Contains(_searchFilter, StringComparison.OrdinalIgnoreCase) ||
node.Id.Contains(_searchFilter, StringComparison.OrdinalIgnoreCase);
} }
} }