Skip to content

Commit d9f7e99

Browse files
committed
fix(web): avoid reopening settled threads when adding projects
1 parent 8419238 commit d9f7e99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/CommandPalette.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ function OpenCommandPaletteDialog(props: {
19791979
existing.id,
19801980
clientSettings.sidebarThreadSortOrder,
19811981
);
1982-
if (latestThread) {
1982+
if (latestThread && latestThread.settledOverride !== "settled") {
19831983
await navigate({
19841984
to: "/$environmentId/$threadId",
19851985
params: buildThreadRouteParams(

0 commit comments

Comments
 (0)