Merge pull request #24 from Shchoholiev/bug/adjust-suggestions-count

Update Chat.razor.cs
This commit is contained in:
Serhii Shchoholiev 2023-12-12 16:39:05 -08:00 committed by GitHub
commit d0fc9f85fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ public partial class Chat : ComponentBase
Products.Add(input);
} else if(sseEvent.Event == SearchEventType.Suggestion){
if(Suggestion.Count<6){
if(Suggestion.Count<3){
Suggestion.Add(result);
}
}