Skip to content
TypeScript

fix(web): avoid reopening settled threads when adding projects (#11804)

Dominic Roy2d8378b44048
diff --git a/apps/web/src/components/CommandPalette.tsx b/apps/web/src/components/CommandPalette.tsx
index fddd7fa8bd7..912f294d953 100644
--- a/apps/web/src/components/CommandPalette.tsx
+++ b/apps/web/src/components/CommandPalette.tsx
@@ -2194,7 +2194,7 @@ function OpenCommandPaletteDialog(props: {
existing.id,
clientSettings.sidebarThreadSortOrder,
);
- if (latestThread) {
+ if (latestThread && latestThread.settledOverride !== "settled") {
await navigate({
to: "/$environmentId/$threadId",
params: buildThreadRouteParams(