Fix Vue Router NavigationDuplicated error in duo agentic chat
Summary
Fixes Vue Router NavigationDuplicated console errors in duo agentic chat when users are already on the chat route and select a thread.
What does this MR do?
- Adds conditional check before calling
router.push('/chat')inonThreadSelectedmethod - Only navigates when not already on the
/chatroute - Adds check to handle undefined
$route
Edited by Jannik Lehmann