From 425693adb63c4b603891ea0b44683017855b6dbe Mon Sep 17 00:00:00 2001 From: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com> Date: Tue, 16 Jul 2024 21:07:10 -0700 Subject: [PATCH] fix(functions): invalidate executions after delete Invalidate the executions so they are re-fetched and the page updates. --- .../functions/function-[function]/executions/delete.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/console/project-[project]/functions/function-[function]/executions/delete.svelte b/src/routes/console/project-[project]/functions/function-[function]/executions/delete.svelte index b05f59fb7a..a7b5b2082f 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/executions/delete.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/executions/delete.svelte @@ -15,7 +15,7 @@ async function handleSubmit() { try { await sdk.forProject.functions.deleteExecution($func.$id, selectedExecution.$id); - await invalidate(Dependencies.FUNCTION); + await invalidate(Dependencies.EXECUTIONS); showDelete = false; addNotification({ type: 'success',