Updates
This commit is contained in:
@@ -32,6 +32,7 @@ interface Chat {
|
||||
storeId: string;
|
||||
lastUpdated: string;
|
||||
orderId?: string;
|
||||
telegramUsername?: string | null;
|
||||
}
|
||||
|
||||
interface UnreadCounts {
|
||||
@@ -228,7 +229,12 @@ export default function ChatTable() {
|
||||
</AvatarFallback>
|
||||
</Avatar>
|
||||
<div>
|
||||
<div className="font-medium">{chat.buyerId}</div>
|
||||
<div className="font-medium">
|
||||
{chat.telegramUsername ? `@${chat.telegramUsername}` : 'Customer'}
|
||||
</div>
|
||||
<div className="text-xs text-muted-foreground">
|
||||
ID: {chat.buyerId}
|
||||
</div>
|
||||
{chat.orderId && (
|
||||
<div className="text-xs text-muted-foreground">
|
||||
Order #{chat.orderId}
|
||||
|
||||
Reference in New Issue
Block a user