This commit is contained in:
NotII
2025-03-08 05:35:40 +00:00
parent 517d81080d
commit 027e380ce2
2 changed files with 22 additions and 389 deletions

View File

@@ -250,16 +250,28 @@ export default function ChatTable() {
)}
</TableCell>
<TableCell className="text-right">
<Button
variant="ghost"
size="icon"
onClick={(e) => {
e.stopPropagation();
handleChatClick(chat._id);
}}
>
<Eye className="h-4 w-4" />
</Button>
<div className="flex justify-end space-x-2">
<Button
variant="ghost"
size="icon"
onClick={(e) => {
e.stopPropagation();
handleChatClick(chat._id);
}}
>
<Eye className="h-4 w-4" />
</Button>
<Button
variant="ghost"
size="icon"
onClick={(e) => {
e.stopPropagation();
window.open(`/dashboard/chats/${chat._id}`, '_blank');
}}
>
<MessageCircle className="h-4 w-4" />
</Button>
</div>
</TableCell>
</TableRow>
))