Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mythilytm committed Aug 23, 2024
1 parent 136b837 commit a56ebfa
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion plugin-hrm-form/src/components/teamsView/AgentColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
1 change: 0 additions & 1 deletion plugin-hrm-form/src/components/teamsView/SkillsColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { sortSkills } from './teamsViewSorting';
const MAX_SKILL_LENGTH = 12;

export const setUpSkillsColumn = () => {

WorkersDataTable.Content.add(
<ColumnDefinition
key="skills"
Expand Down
1 change: 0 additions & 1 deletion plugin-hrm-form/src/components/teamsView/StatusColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { StatusActivityName } from './styles';
const MAX_STATUS_LENGTH = 12;

export const setUpStatusColumn = () => {

WorkersDataTable.Content.add(
<ColumnDefinition
key="status"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const TRUNCATED_QUEUE_LENGTH = 10;

// This function customises the TaskCard meant for Call channel
export const setCallTaskCardString = channel => {

const can = getInitializedCan();
const maskIdentifiers = !can(PermissionActions.VIEW_IDENTIFIERS);

Expand All @@ -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);

Expand Down
6 changes: 1 addition & 5 deletions plugin-hrm-form/src/components/teamsView/teamsViewFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit a56ebfa

Please sign in to comment.