mirror of
https://github.com/Shchoholiev/shopping-assistant-web-client.git
synced 2025-04-11 01:18:50 +00:00
Merge pull request #24 from Shchoholiev/bug/adjust-suggestions-count
Update Chat.razor.cs
This commit is contained in:
commit
d0fc9f85fb
@ -210,7 +210,7 @@ public partial class Chat : ComponentBase
|
|||||||
Products.Add(input);
|
Products.Add(input);
|
||||||
|
|
||||||
} else if(sseEvent.Event == SearchEventType.Suggestion){
|
} else if(sseEvent.Event == SearchEventType.Suggestion){
|
||||||
if(Suggestion.Count<6){
|
if(Suggestion.Count<3){
|
||||||
Suggestion.Add(result);
|
Suggestion.Add(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user