diff --git a/src/components/moderation/ModerationQueue.tsx b/src/components/moderation/ModerationQueue.tsx index 8feca222..8f12ac34 100644 --- a/src/components/moderation/ModerationQueue.tsx +++ b/src/components/moderation/ModerationQueue.tsx @@ -379,28 +379,87 @@ export function ModerationQueue() { ) : item.submission_type === 'photo' ? (
-
+
Photo Submission
- {item.content.content?.url && ( + + {/* Submission Title */} + {item.content.title && (
- Submitted photo +
Title:
+

{item.content.title}

)} - {item.content.content?.caption && ( -
+ + {/* Submission Caption */} + {item.content.caption && ( +
Caption:
-

{item.content.content.caption}

+

{item.content.caption}

+
+ )} + + {/* Photos */} + {item.content.photos && item.content.photos.length > 0 ? ( +
+
Photos ({item.content.photos.length}):
+ {item.content.photos.map((photo: any, index: number) => ( +
+ {`Photo +
+
+ Filename: + {photo.filename || 'Unknown'} +
+
+ Size: + {photo.size ? `${Math.round(photo.size / 1024)} KB` : 'Unknown'} +
+
+ Type: + {photo.type || 'Unknown'} +
+ {photo.caption && ( +
+
Caption:
+
{photo.caption}
+
+ )} +
+
+ ))} +
+ ) : ( +
+ No photos found in submission +
+ )} + + {/* Context Information */} + {item.content.context && ( +
+
+ Context: + {item.content.context} +
+ {item.content.ride_id && ( +
+ Ride ID: + {item.content.ride_id} +
+ )} + {item.content.park_id && ( +
+ Park ID: + {item.content.park_id} +
+ )}
)} -
-
Filename: {item.content.content?.filename || 'Unknown'}
-
Size: {item.content.content?.size ? `${Math.round(item.content.content.size / 1024)} KB` : 'Unknown'}
-
) : (