mirror of
https://github.com/Shchoholiev/shopping-assistant-web-client.git
synced 2025-04-10 00:48:50 +00:00
fix bags
This commit is contained in:
parent
7b7c707cca
commit
b1ac3b5f3c
ShoppingAssistantWebClient.Web
@ -128,12 +128,11 @@
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
await JSRuntime.InvokeVoidAsync("scrollToBottom", chatMessageRef);
|
||||
await JSRuntime.InvokeVoidAsync("scrollToBottom", chatMessageRef);
|
||||
await JSRuntime.InvokeVoidAsync("scrollToBottom", chatMessageRef);
|
||||
}
|
||||
|
||||
|
||||
private void ClickOption(string item) {
|
||||
private void ClickOption(string item)
|
||||
{
|
||||
inputValue = item;
|
||||
}
|
||||
|
||||
|
@ -202,7 +202,7 @@ public partial class Chat : ComponentBase
|
||||
Messages[lengt-1].Text += Message.Text;
|
||||
}
|
||||
|
||||
await InvokeAsync(StateHasChanged);
|
||||
StateHasChanged();
|
||||
|
||||
}else if(sseEvent.Event == SearchEventType.Product){
|
||||
|
||||
|
@ -81,6 +81,8 @@ namespace ShoppingAssistantWebClient.Web.Shared
|
||||
|
||||
var response = await _apiClient.QueryAsync(request);
|
||||
await LoadMenus(currentPage, pageSize);
|
||||
var url = $"/";
|
||||
Navigation.NavigateTo(url);
|
||||
|
||||
}catch(Exception ex){
|
||||
Console.WriteLine($"Error : {ex.Message}");
|
||||
|
Loading…
Reference in New Issue
Block a user