Skip to content

Commit

Permalink
Incoming Calls -> Incoming_Calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jul 15, 2024
1 parent f266c53 commit 8095262
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/meteor/client/sidebar/hooks/useRoomList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const query = { open: { $ne: false } };
const emptyQueue: ILivechatInquiryRecord[] = [];

const order: (
| 'Incoming Calls'
| 'Incoming_Calls'
| 'Incoming_Livechats'
| 'Open_Livechats'
| 'On_Hold_Chats'
Expand All @@ -25,7 +25,7 @@ const order: (
| 'Direct_Messages'
| 'Conversations'
)[] = [
'Incoming Calls',
'Incoming_Calls',
'Incoming_Livechats',
'Open_Livechats',
'On_Hold_Chats',
Expand Down Expand Up @@ -119,7 +119,7 @@ export const useRoomList = (): Array<ISubscription & IRoom> => {
});

const groups = new Map();
incomingCall.size && groups.set('Incoming Calls', incomingCall);
incomingCall.size && groups.set('Incoming_Calls', incomingCall);
showOmnichannel && inquiries.enabled && queue.length && groups.set('Incoming_Livechats', queue);
showOmnichannel && omnichannel.size && groups.set('Open_Livechats', omnichannel);
showOmnichannel && onHold.size && groups.set('On_Hold_Chats', onHold);
Expand Down

0 comments on commit 8095262

Please sign in to comment.