Skip to content

Commit bf4c8f3

Browse files
authored
Merge branch 'main' into batch-move
2 parents f084320 + abadd65 commit bf4c8f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

StabilityMatrix.Avalonia/ViewModels/CheckpointsPageViewModel.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@ protected override async Task OnInitialLoadedAsync()
213213
(Func<LocalModelFile, bool>)(
214214
file =>
215215
string.IsNullOrWhiteSpace(SearchQuery)
216+
|| (
217+
SearchQuery.StartsWith("#")
218+
&& (
219+
file.ConnectedModelInfo?.Tags.Contains(
220+
SearchQuery.Substring(1),
221+
StringComparer.OrdinalIgnoreCase
222+
) ?? false
223+
)
224+
)
216225
|| file.DisplayModelFileName.Contains(
217226
SearchQuery,
218227
StringComparison.OrdinalIgnoreCase

0 commit comments

Comments
 (0)