mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18:04 +00:00
Fixed queries, mutations and JSON parse (#626)
* Fixed queries ond mutations * Fixed JSON.parse in analytics
This commit is contained in:
@@ -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 = "/";
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user