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>
19 lines
637 B
JavaScript
19 lines
637 B
JavaScript
import conversations from './sidebarItems/conversations';
|
|
import contacts from './sidebarItems/contacts';
|
|
import reports from './sidebarItems/reports';
|
|
import campaigns from './sidebarItems/campaigns';
|
|
import settings from './sidebarItems/settings';
|
|
import notifications from './sidebarItems/notifications';
|
|
import primaryMenu from './sidebarItems/primaryMenu';
|
|
|
|
export const getSidebarItems = accountId => ({
|
|
primaryMenu: primaryMenu(accountId),
|
|
secondaryMenu: [
|
|
conversations(accountId),
|
|
contacts(accountId),
|
|
reports(accountId),
|
|
campaigns(accountId),
|
|
settings(accountId),
|
|
notifications(accountId),
|
|
],
|
|
});
|