Merge pull request #39 from pennyteenycat/develop

Develop
This commit is contained in:
pennyteenycat 2025-08-19 23:22:58 +02:00 committed by GitHub
commit 7981159da1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 15 additions and 5 deletions

View File

@ -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={

View File

@ -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>

View File

@ -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={

View File

@ -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={

View File

@ -31,3 +31,12 @@
font-weight: 600;
}
}
.buttonCancel.buttonCancel {
background-color: transparent;
padding: 0;
& > .buttonCancelText {
text-decoration: underline;
}
}

View File

@ -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>,

View File

@ -22,6 +22,7 @@ const ChatSchema = z.object({
unreadCount: z.number(),
updatedAt: z.string(),
status: z.string(),
assistantStatus: z.string(),
category: z.string(),
});