From 7cba02226eaddf1f14105ec4edde36e068bfb8a4 Mon Sep 17 00:00:00 2001 From: Oscar Zhou <100548325+oscarzhou-portainer@users.noreply.github.com> Date: Mon, 22 Jan 2024 10:28:16 +1300 Subject: [PATCH] fix(container): duplicate/edit button causes empty container screen [EE-6566] (#10982) --- app/react/portainer/webhooks/useWebhooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/portainer/webhooks/useWebhooks.ts b/app/react/portainer/webhooks/useWebhooks.ts index b2d21487f..ce05d2477 100644 --- a/app/react/portainer/webhooks/useWebhooks.ts +++ b/app/react/portainer/webhooks/useWebhooks.ts @@ -18,7 +18,7 @@ export function useWebhooks( async function getWebhooks(filters: Filters) { try { const { data } = await axios.get>(buildUrl(), { - params: { filters }, + params: { filters: JSON.stringify(filters) }, }); return data; } catch (err) {