diff --git a/plugin-hrm-form/src/HrmFormPlugin.tsx b/plugin-hrm-form/src/HrmFormPlugin.tsx index 45187f93b9..68c52ebd2d 100644 --- a/plugin-hrm-form/src/HrmFormPlugin.tsx +++ b/plugin-hrm-form/src/HrmFormPlugin.tsx @@ -34,6 +34,7 @@ import { getAseloFeatureFlags, getHrmConfig, initializeConfig, subscribeToConfig import { setUpSharedStateClient } from './utils/sharedState'; import { FeatureFlags } from './types/types'; import { setUpReferrableResources } from './components/resources/setUpReferrableResources'; +import QueuesView from './components/queuesView'; import TeamsView from './components/teamsView'; import { setUpCounselorToolkits } from './components/toolkits/setUpCounselorToolkits'; import { setUpTransferComponents } from './components/transfer/setUpTransferComponents'; @@ -131,6 +132,8 @@ const setUpComponents = ( TeamsView.setUpTeamsViewFilters(); TeamsView.setUpWorkerDirectoryFilters(); + QueuesView.setUpSwitchboarding(); + if (featureFlags.enable_conferencing) setupConferenceComponents(); }; diff --git a/plugin-hrm-form/src/___tests__/mockStyled.ts b/plugin-hrm-form/src/___tests__/mockStyled.ts index 72b242c31b..aae9e21bdc 100644 --- a/plugin-hrm-form/src/___tests__/mockStyled.ts +++ b/plugin-hrm-form/src/___tests__/mockStyled.ts @@ -150,12 +150,12 @@ jest.mock('../components/callTypeButtons/styles', () => ({ Label: 'Label', DataCallTypeButton: 'DataCallTypeButton', NonDataCallTypeButton: 'NonDataCallTypeButton', - CloseTaskDialog: 'CloseTaskDialog', - CloseTaskDialogText: 'CloseTaskDialogText', + DialogStyled: 'DialogStyled', + DialogStyledText: 'DialogStyledText', ConfirmButton: 'ConfirmButton', CancelButton: 'CancelButton', CloseButton: 'CloseButton', - NonDataCallTypeDialogContainer: 'NonDataCallTypeDialogContainer', + DialogContainer: 'DialogContainer', })); jest.mock('../components/queuesStatus/styles', () => ({ diff --git a/plugin-hrm-form/src/components/callTypeButtons/SaveContactCallTypeDialog.tsx b/plugin-hrm-form/src/components/callTypeButtons/SaveContactCallTypeDialog.tsx index c31b665b34..e9191ab495 100644 --- a/plugin-hrm-form/src/components/callTypeButtons/SaveContactCallTypeDialog.tsx +++ b/plugin-hrm-form/src/components/callTypeButtons/SaveContactCallTypeDialog.tsx @@ -19,9 +19,9 @@ import { Template } from '@twilio/flex-ui'; import { Box, Row, HiddenText } from '../../styles'; import { - CloseTaskDialog, - CloseTaskDialogText, - NonDataCallTypeDialogContainer, + DialogStyled, + DialogStyledText, + DialogContainer, ConfirmButton, CancelButton, CloseButton, @@ -47,18 +47,18 @@ const SaveContactCallTypeDialog: React.FC = ({ handleConfirm, handleCancel, }) => ( - + - +