commit
7981159da1
@ -31,7 +31,7 @@ export default function CategoryChats({
|
||||
userAvatar={{
|
||||
src: chat.assistantAvatar,
|
||||
alt: chat.assistantName,
|
||||
isOnline: chat.status === "active",
|
||||
isOnline: chat.assistantStatus === "online",
|
||||
}}
|
||||
name={chat.assistantName}
|
||||
messagePreiew={
|
||||
|
||||
@ -72,7 +72,7 @@ export default function ChatHeader() {
|
||||
<Typography weight="semiBold" className={styles.name}>
|
||||
{currentChat?.assistantName}
|
||||
<OnlineIndicator
|
||||
isOnline={currentChat?.status === "active"}
|
||||
isOnline={currentChat?.assistantStatus === "online"}
|
||||
className={styles.onlineIndicator}
|
||||
/>
|
||||
</Typography>
|
||||
|
||||
@ -52,7 +52,7 @@ export default function CorrespondenceStarted({
|
||||
userAvatar={{
|
||||
src: chat.assistantAvatar,
|
||||
alt: chat.assistantName,
|
||||
isOnline: chat.status === "active",
|
||||
isOnline: chat.assistantStatus === "online",
|
||||
}}
|
||||
name={chat.assistantName}
|
||||
messagePreiew={
|
||||
|
||||
@ -51,7 +51,7 @@ export default function NewMessages({
|
||||
userAvatar={{
|
||||
src: chat.assistantAvatar,
|
||||
alt: chat.assistantName,
|
||||
isOnline: chat.status === "active",
|
||||
isOnline: chat.assistantStatus === "online",
|
||||
}}
|
||||
name={chat.assistantName}
|
||||
messagePreiew={
|
||||
|
||||
@ -31,3 +31,12 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.buttonCancel.buttonCancel {
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
|
||||
& > .buttonCancelText {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
@ -71,7 +71,7 @@ export default function SubscriptionTable({ subscription }: ITableProps) {
|
||||
className={styles.buttonCancel}
|
||||
onClick={() => open(subscription)}
|
||||
>
|
||||
<Typography color="white">
|
||||
<Typography color="muted" className={styles.buttonCancelText}>
|
||||
{t("table.cancel_subscription")}
|
||||
</Typography>
|
||||
</Button>,
|
||||
|
||||
@ -22,6 +22,7 @@ const ChatSchema = z.object({
|
||||
unreadCount: z.number(),
|
||||
updatedAt: z.string(),
|
||||
status: z.string(),
|
||||
assistantStatus: z.string(),
|
||||
category: z.string(),
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user