Skip to content

Commit d1a1b4b

Browse files
committed
enhance: do NOT show search suggestion if input string is empty (#775)
1 parent a52977b commit d1a1b4b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ViewModels/CommitDetail.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ public string RevisionFileSearchFilter
137137
{
138138
_revisionFiles.Clear();
139139
_revisionFiles.AddRange(files);
140-
UpdateRevisionFileSearchSuggestion();
140+
141+
if (!string.IsNullOrEmpty(_revisionFileSearchFilter))
142+
UpdateRevisionFileSearchSuggestion();
141143
}
142144
});
143145
});

0 commit comments

Comments
 (0)