Edit list Wishlist

This commit is contained in:
––AsTroLog 2023-10-29 06:01:28 +00:00
parent b17e0bbf2e
commit 343b5122f3
2 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,6 @@
 
@inject NavigationManager Navigation @inject NavigationManager Navigation
<div id="leftframe" class="left_frame"> <div id="leftframe" class="left_frame">
@ -98,7 +97,6 @@
@code { @code {
private void RedirectToPage(string itemId) { private void RedirectToPage(string itemId) {
var url = $"/chat/{itemId}"; var url = $"/chat/{itemId}";
Navigation.NavigateTo(url); Navigation.NavigateTo(url);
@ -117,5 +115,4 @@
} }
} }

View File

@ -55,8 +55,8 @@ namespace ShoppingAssistantWebClient.Web.Shared
isLoading = false; isLoading = false;
} }
protected async Task DeleteWish(string wishlistId) protected async Task DeleteWish(string wishlistId)
{ {
var request = new GraphQLRequest var request = new GraphQLRequest
{ {
@ -69,7 +69,7 @@ namespace ShoppingAssistantWebClient.Web.Shared
Variables = new Variables = new
{ {
wishlistId wishlistId
} }
}; };
@ -79,4 +79,4 @@ namespace ShoppingAssistantWebClient.Web.Shared
} }
} }