Skip to content

Commit 9c5f57c

Browse files
committed
chore: remove feature
1 parent 73d9200 commit 9c5f57c

File tree

23 files changed

+26
-774
lines changed

23 files changed

+26
-774
lines changed

apps/meteor/app/authorization/server/constant/permissions.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,6 @@ export const permissions = [
156156
_id: 'add-livechat-department-agents',
157157
roles: ['livechat-manager', 'livechat-monitor', 'admin'],
158158
},
159-
{
160-
_id: 'view-livechat-current-chats',
161-
roles: ['livechat-manager', 'livechat-monitor', 'admin'],
162-
},
163159
{
164160
_id: 'view-livechat-real-time-monitoring',
165161
roles: ['livechat-manager', 'livechat-monitor', 'admin'],

apps/meteor/client/NavBarV2/NavBarSettingsToolbar/hooks/useAdministrationMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const useAdministrationMenu = () => {
4545
const omnichannel: GenericMenuItemProps = {
4646
id: 'omnichannel',
4747
content: t('Omnichannel'),
48-
onClick: () => router.navigate('/omnichannel/current'),
48+
onClick: () => router.navigate('/omnichannel'),
4949
};
5050

5151
return {

apps/meteor/client/sidebar/header/actions/hooks/useAdministrationItems.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const useAdministrationItems = (): GenericMenuItemProps[] => {
4343
id: 'omnichannel',
4444
content: t('Omnichannel'),
4545
icon: 'headset',
46-
onClick: () => router.navigate('/omnichannel/current'),
46+
onClick: () => router.navigate('/omnichannel'),
4747
};
4848

4949
const workspaceItem: GenericMenuItemProps = {

apps/meteor/client/views/omnichannel/OmnichannelRouter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const OmnichannelRouter = ({ children }: OmnichannelRouterProps): ReactElement =
2020
return;
2121
}
2222

23-
router.navigate({ name: 'omnichannel-current-chats' }, { replace: true });
23+
router.navigate({ name: 'omnichannel-analytics' }, { replace: true });
2424
}),
2525
[router],
2626
);

0 commit comments

Comments
 (0)