Skip to content

Commit 6163330

Browse files
authored
Preserve onboarding auth in operator UI (#39)
1 parent 6308772 commit 6163330

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/App.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,15 @@ export function App() {
10581058
status: agent.status,
10591059
requestedAt: agent.requested_at ?? agent.requestedAt,
10601060
approvedAt: agent.approved_at ?? agent.approvedAt,
1061+
onboardingAuth: agent.onboardingAuth ?? (
1062+
agent.onboarding_auth_status || agent.onboardingAuthStatus
1063+
? {
1064+
status: agent.onboarding_auth_status ?? agent.onboardingAuthStatus,
1065+
length: agent.onboarding_auth_length ?? agent.onboardingAuthLength,
1066+
checkedAt: agent.onboarding_auth_checked_at ?? agent.onboardingAuthCheckedAt,
1067+
}
1068+
: undefined
1069+
),
10611070
profile: agent.profile,
10621071
})),
10631072
directConversations: (directConversationsPayload.conversations ?? current.directConversations).map(

0 commit comments

Comments
 (0)