mirror of
https://github.com/Shchoholiev/shopping-assistant-web-client.git
synced 2025-04-12 01:48:49 +00:00
Edit list Wishlist
This commit is contained in:
parent
b17e0bbf2e
commit
343b5122f3
@ -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 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user