Fixed queries, mutations and JSON parse (#626)

* Fixed queries ond mutations

* Fixed JSON.parse in analytics
This commit is contained in:
yuri-sakharov
2025-11-27 11:44:50 +02:00
committed by GitHub
parent f01c19f330
commit 3f623458b3
10 changed files with 124 additions and 115 deletions

View File

@@ -459,15 +459,14 @@ const Uninstall = () => {
});
const uninstallMutation = useMutation(
["uninstall", namespace, chart],
() =>
{mutationKey:["uninstall", namespace, chart],
mutationFn:() =>
apiService.fetchWithDefaults(
"/api/helm/releases/" + namespace + "/" + chart,
{
method: "delete",
}
),
{
onSuccess: () => {
window.location.href = "/";
},