diff --git a/plugin-hrm-form/src/components/teamsView/AgentColumn.tsx b/plugin-hrm-form/src/components/teamsView/AgentColumn.tsx index 5ef283c917..744833e652 100644 --- a/plugin-hrm-form/src/components/teamsView/AgentColumn.tsx +++ b/plugin-hrm-form/src/components/teamsView/AgentColumn.tsx @@ -23,7 +23,6 @@ import { AgentFullName, StyledChip } from './styles'; const MAX_NAME_LENGTH = 18; export const setUpAgentColumn = () => { - const agentSortingFn = (a: any, b: any): number => { return a > b ? 1 : -1; }; diff --git a/plugin-hrm-form/src/components/teamsView/SkillsColumn.tsx b/plugin-hrm-form/src/components/teamsView/SkillsColumn.tsx index 552e987a2d..c547a0f3d7 100644 --- a/plugin-hrm-form/src/components/teamsView/SkillsColumn.tsx +++ b/plugin-hrm-form/src/components/teamsView/SkillsColumn.tsx @@ -25,7 +25,6 @@ import { sortSkills } from './teamsViewSorting'; const MAX_SKILL_LENGTH = 12; export const setUpSkillsColumn = () => { - WorkersDataTable.Content.add( { - WorkersDataTable.Content.add( { - const can = getInitializedCan(); const maskIdentifiers = !can(PermissionActions.VIEW_IDENTIFIERS); @@ -41,7 +40,6 @@ export const setCallTaskCardString = channel => { // This function customises the TaskCard meant for all Chat channels export const setChatTaskCardString = channel => { - const can = getInitializedCan(); const maskIdentifiers = !can(PermissionActions.VIEW_IDENTIFIERS); diff --git a/plugin-hrm-form/src/components/teamsView/teamsViewFilters.ts b/plugin-hrm-form/src/components/teamsView/teamsViewFilters.ts index 2e70d044d8..9eda6d5679 100644 --- a/plugin-hrm-form/src/components/teamsView/teamsViewFilters.ts +++ b/plugin-hrm-form/src/components/teamsView/teamsViewFilters.ts @@ -74,11 +74,7 @@ const disabledSkillsFilterDefinition: FilterDefinitionFactory = () => { * The skills filter is included if the feature flag is enabled. */ export const setUpTeamsViewFilters = () => { - TeamsView.defaultProps.filters = [ - activityNoOfflineByDefault, - skillsFilterDefinition, - disabledSkillsFilterDefinition, - ]; + TeamsView.defaultProps.filters = [activityNoOfflineByDefault, skillsFilterDefinition, disabledSkillsFilterDefinition]; }; export const setUpWorkerDirectoryFilters = () => {