@trii/components 2.0.21 → 2.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -8837,7 +8837,9 @@ const Header = ({ imgUrl, name, contactId, navigate, isLoading = false, onError,
8837
8837
  const handleNavigateToContacts = handleNavigation(isBusiness
8838
8838
  ? `/a/contacts/business/${contactId}`
8839
8839
  : `/a/contacts/contacts/${contactId}`);
8840
- const handleNavigateToConversations = handleNavigation('/a/conversations/conversations');
8840
+ const handleNavigateToConversations = handleNavigation(contactId
8841
+ ? `/a/conversations/conversations?${isBusiness ? 'businessId' : 'contactId'}=${contactId}`
8842
+ : '/a/conversations/conversations');
8841
8843
  const displayName = name || 'Unknown Contact';
8842
8844
  const avatarAlt = `Avatar for ${displayName}`;
8843
8845
  return (jsxRuntimeExports.jsxs(HeaderContainer, { children: [jsxRuntimeExports.jsxs(ButtonsContainer, { children: [jsxRuntimeExports.jsx(SmallIconButton, { color: "info", size: "small", onClick: (e) => {