20 lines
637 B
JavaScript
20 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),
|
||
|
],
|
||
|
});
|