fix(functions): invalidate executions after delete

Invalidate the executions so they are re-fetched and the page updates.
This commit is contained in:
Steven Nguyen authored and GitHub committed 2024-07-16 21:07:10 -07:00
1 parent c873a9d674
commit 425693adb6
1 file changed
+1 -1
@@ -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',