From b5b680dd1df5bf31058ca5cdade6849c294f9881 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Thu, 5 Mar 2026 10:40:19 -0800 Subject: [PATCH] Deploy / DeployStack updates invalidate corresponding list query --- ui/src/lib/socket.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/src/lib/socket.tsx b/ui/src/lib/socket.tsx index 3b21918c2..e2a9da143 100644 --- a/ui/src/lib/socket.tsx +++ b/ui/src/lib/socket.tsx @@ -187,6 +187,10 @@ function onUpdate( invalidate(["ListProcedures"]); } else if (update.operation === Types.Operation.RunAction) { invalidate(["ListActions"]); + } else if (update.operation === Types.Operation.Deploy) { + invalidate(["ListDeployments"]); + } else if (update.operation === Types.Operation.DeployStack) { + invalidate(["ListStacks"]); } // Do invalidations of these only if update is completed