Skip to content

Commit 4e28dfd

Browse files
Merge remote-tracking branch 'origin/dev' into BUGFIX46842_GOLLA
2 parents 44d1e9e + d8be62b commit 4e28dfd

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/App/src/components/common/TeamSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ const TeamSelector: React.FC<TeamSelectorProps> = ({
6767
const [uploadSuccessMessage, setUploadSuccessMessage] = useState<string | null>(null);
6868
// Helper function to check if a team is a default team
6969
const isDefaultTeam = (team: TeamConfig): boolean => {
70-
const defaultTeamIds = ['team-1', 'team-2', 'team-3','team-clm-1', 'team-compliance-1'];
71-
const defaultTeamNames = ['Human Resources Team', 'Product Marketing Team', 'Retail Customer Success Team','RFP Team', 'Contract Compliance Review Team'];
70+
const defaultTeamIds = ['team-1', 'team-2', 'team-3', 'team-clm-1', 'team-compliance-1', 'content-gen-team'];
71+
const defaultTeamNames = ['Human Resources Team', 'Product Marketing Team', 'Retail Customer Success Team', 'RFP Team', 'Contract Compliance Review Team', 'Retail Marketing Content Generation Team'];
7272

7373
return defaultTeamIds.includes(team.team_id) ||
7474
defaultTeamNames.includes(team.name);

src/App/src/hooks/usePlanWebSocket.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,10 @@ export function usePlanWebSocket({
137137
const line = PlanDataService.simplifyHumanClarification(msg.data?.content || msg.content || '');
138138
dispatch(setShowBufferingText(true));
139139
dispatch(appendToStreamingBuffer(line));
140-
scrollToBottom();
141140
},
142141
);
143142
return unsub;
144-
}, [dispatch, scrollToBottom]);
143+
}, [dispatch]);
145144

146145
// ── USER_CLARIFICATION_REQUEST ────────────────────────────────
147146
useEffect(() => {

0 commit comments

Comments
 (0)