diff --git a/apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx b/apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx index c90a6d6358fb..58879aaeac07 100644 --- a/apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx +++ b/apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx @@ -6,7 +6,7 @@ import { useLayout } from '@rocket.chat/ui-contexts'; import type { AllHTMLAttributes, ComponentType, ReactElement, ReactNode } from 'react'; import React, { memo, useMemo } from 'react'; -import { MacActivityIcon } from '../../../ee/client/omnichannel/components/MacActivityIcon/MacActivityIcon'; +import { RoomActivityIcon } from '../../../ee/client/omnichannel/components/RoomActivityIcon'; import { useOmnichannelPriorities } from '../../../ee/client/omnichannel/hooks/useOmnichannelPriorities'; import { PriorityIcon } from '../../../ee/client/omnichannel/priorities/PriorityIcon'; import { RoomIcon } from '../../components/RoomIcon'; @@ -146,7 +146,7 @@ function SideBarItemTemplateWithData({ )} {isOmnichannelRoom(room) && isPriorityEnabled && } - {isOmnichannelRoom(room) && } + {isOmnichannelRoom(room) && } ); diff --git a/apps/meteor/client/views/omnichannel/currentChats/CurrentChatsPage.tsx b/apps/meteor/client/views/omnichannel/currentChats/CurrentChatsPage.tsx index b60eaeb8b565..95c296b2b1be 100644 --- a/apps/meteor/client/views/omnichannel/currentChats/CurrentChatsPage.tsx +++ b/apps/meteor/client/views/omnichannel/currentChats/CurrentChatsPage.tsx @@ -7,7 +7,7 @@ import moment from 'moment'; import type { ComponentProps, ReactElement } from 'react'; import React, { memo, useCallback, useMemo, useState } from 'react'; -import { MacActivityIcon } from '../../../../ee/client/omnichannel/components/MacActivityIcon/MacActivityIcon'; +import { RoomActivityIcon } from '../../../../ee/client/omnichannel/components/RoomActivityIcon'; import { useOmnichannelPriorities } from '../../../../ee/client/omnichannel/hooks/useOmnichannelPriorities'; import { PriorityIcon } from '../../../../ee/client/omnichannel/priorities/PriorityIcon'; import GenericNoResults from '../../../components/GenericNoResults'; @@ -198,7 +198,7 @@ const CurrentChatsRoute = ({ id, onRowClick }: { id?: string; onRowClick: (_id: {moment(lm).format('L LTS')} - {getStatusText(open, onHold)} + {getStatusText(open, onHold)} {canRemoveClosedChats && !open && } diff --git a/apps/meteor/ee/client/omnichannel/components/MacActivityIcon/MacActivityIcon.tsx b/apps/meteor/ee/client/omnichannel/components/RoomActivityIcon/index.tsx similarity index 86% rename from apps/meteor/ee/client/omnichannel/components/MacActivityIcon/MacActivityIcon.tsx rename to apps/meteor/ee/client/omnichannel/components/RoomActivityIcon/index.tsx index 87be8eaca1c1..c5c1fbdacc0d 100644 --- a/apps/meteor/ee/client/omnichannel/components/MacActivityIcon/MacActivityIcon.tsx +++ b/apps/meteor/ee/client/omnichannel/components/RoomActivityIcon/index.tsx @@ -7,11 +7,11 @@ import React from 'react'; import { useIsRoomActive } from '../../../../../client/hooks/omnichannel/useIsRoomActive'; import { useOmnichannel } from '../../../../../client/hooks/omnichannel/useOmnichannel'; -type MacActivityIconProps = { +type RoomActivityIconProps = { room: IOmnichannelRoom; }; -export const MacActivityIcon = ({ room }: MacActivityIconProps): ReactElement | null => { +export const RoomActivityIcon = ({ room }: RoomActivityIconProps): ReactElement | null => { const t = useTranslation(); const { isEnterprise } = useOmnichannel(); const isRoomActive = useIsRoomActive(room);