@trii/components 2.0.21 → 2.0.22
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/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -8857,7 +8857,9 @@ const Header = ({ imgUrl, name, contactId, navigate, isLoading = false, onError,
|
|
|
8857
8857
|
const handleNavigateToContacts = handleNavigation(isBusiness
|
|
8858
8858
|
? `/a/contacts/business/${contactId}`
|
|
8859
8859
|
: `/a/contacts/contacts/${contactId}`);
|
|
8860
|
-
const handleNavigateToConversations = handleNavigation(
|
|
8860
|
+
const handleNavigateToConversations = handleNavigation(contactId
|
|
8861
|
+
? `/a/conversations/conversations?conversationId=${contactId}`
|
|
8862
|
+
: '/a/conversations/conversations');
|
|
8861
8863
|
const displayName = name || 'Unknown Contact';
|
|
8862
8864
|
const avatarAlt = `Avatar for ${displayName}`;
|
|
8863
8865
|
return (jsxRuntimeExports.jsxs(HeaderContainer, { children: [jsxRuntimeExports.jsxs(ButtonsContainer, { children: [jsxRuntimeExports.jsx(SmallIconButton, { color: "info", size: "small", onClick: (e) => {
|