Skip to content

Commit

Permalink
Move reports sidebar entry to ee folder
Browse files Browse the repository at this point in the history
  • Loading branch information
KevLehman committed Sep 14, 2023
1 parent 9b58e80 commit b692cf7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions apps/meteor/client/views/omnichannel/sidebarItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ export const {
i18nLabel: 'Current_Chats',
permissionGranted: (): boolean => hasPermission('view-livechat-current-chats'),
},
{
href: '/omnichannel/reports',
icon: 'file',
i18nLabel: 'Reports',
permissionGranted: (): boolean => hasPermission('view-livechat-reports'),
},
{
href: '/omnichannel/analytics',
icon: 'dashboard',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { hasPermission, hasAtLeastOnePermission } from '../../../../../app/authorization/client';
import { registerOmnichannelSidebarItem } from '../../../../../client/views/omnichannel/sidebarItems';

registerOmnichannelSidebarItem({
href: '/omnichannel/reports',
icon: 'file',
i18nLabel: 'Reports',
permissionGranted: (): boolean => hasPermission('view-livechat-reports'),
});

registerOmnichannelSidebarItem({
href: '/omnichannel/monitors',
icon: 'shield-blank',
Expand Down

0 comments on commit b692cf7

Please sign in to comment.