diff --git a/web/app/(app)/dashboard/(components)/message-history.tsx b/web/app/(app)/dashboard/(components)/message-history.tsx
index 73a4c7d..3f24d91 100644
--- a/web/app/(app)/dashboard/(components)/message-history.tsx
+++ b/web/app/(app)/dashboard/(components)/message-history.tsx
@@ -415,28 +415,28 @@ function StatusDetailsDialog({ message }: { message: any }) {
// Get status badge color and icon based on message status
const getStatusBadge = () => {
- const status = message.status || 'pending';
+ const status = message.status?.toLowerCase() || 'pending';
switch (status) {
- case 'PENDING':
+ case 'pending':
return {
color: 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-300',
icon: