Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@fortawesome/react-fontawesome": "^0.2.0",
"@headlessui/react": "^2.2.8",
"@hookform/resolvers": "^3.3.4",
"@nethesis/chat-island": "0.1.71",
"@nethesis/chat-island": "0.1.72",
"@nethesis/nethesis-solid-svg-icons": "github:nethesis/Font-Awesome#ns-solid",
"@nethesis/phone-island": "^1.1.6",
"@tailwindcss/forms": "^0.5.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ export function ChatModule() {
{c.kind === 'group' && !c.avatar ? (
// As in the CTI and the chat window: the group's initials; operator groups (cti-…) blue, a queue's chat indigo, the others as a person's.
<span
className={`flex h-8 w-8 items-center justify-center rounded-full text-sm font-normal ${c.peer.startsWith('cti-') ? 'bg-blue-100 text-blue-800 dark:bg-blue-700 dark:text-blue-100' : c.name.startsWith('Queue - ') ? 'bg-indigo-100 text-indigo-800 dark:bg-indigo-700 dark:text-indigo-100' : 'bg-gray-700 text-white dark:bg-gray-200 dark:text-gray-950'}`}
className={`flex h-8 w-8 items-center justify-center rounded-full text-sm font-normal dark:font-medium ${c.peer.startsWith('cti-') ? 'bg-blue-100 text-blue-800 dark:bg-blue-700 dark:text-blue-100' : c.name.startsWith('Queue - ') ? 'bg-indigo-100 text-indigo-800 dark:bg-indigo-700 dark:text-indigo-100' : 'bg-gray-700 text-white dark:bg-gray-200 dark:text-gray-950'}`}
>
{groupInitials(c.name)}
</span>
) : (
<Avatar
size='small'
src={c.avatar}
placeholderType='person'
placeholderType='operator'
status={
c.kind === 'chat' && c.online ? 'online' : undefined
}
Expand Down
Loading