8b4134c790
* fix: Display rolewise primary sidebar * Fix issues with roles * Fix active style * Fix accessible menu * Fix key missing * Changes menu icon size Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
28 lines
693 B
JavaScript
28 lines
693 B
JavaScript
import { frontendURL } from '../../../../helper/URLHelper';
|
|
|
|
const conversations = accountId => ({
|
|
parentNav: 'conversations',
|
|
routes: [
|
|
'home',
|
|
'inbox_dashboard',
|
|
'inbox_conversation',
|
|
'conversation_through_inbox',
|
|
'notifications_dashboard',
|
|
'label_conversations',
|
|
'conversations_through_label',
|
|
'team_conversations',
|
|
'conversations_through_team',
|
|
],
|
|
menuItems: [
|
|
{
|
|
icon: 'chat',
|
|
label: 'ALL_CONVERSATIONS',
|
|
key: 'conversations',
|
|
toState: frontendURL(`accounts/${accountId}/dashboard`),
|
|
toolTip: 'Conversation from all subscribed inboxes',
|
|
toStateName: 'home',
|
|
},
|
|
],
|
|
});
|
|
|
|
export default conversations;
|