From b38b6eb587150e9667b95f1e7f9bd9d8ec553a29 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 13 Oct 2025 19:34:36 +0000 Subject: [PATCH] Fix: Display all fields for creation submissions --- .../moderation/SubmissionChangesDisplay.tsx | 39 +++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/src/components/moderation/SubmissionChangesDisplay.tsx b/src/components/moderation/SubmissionChangesDisplay.tsx index 95badbcb..0b87d727 100644 --- a/src/components/moderation/SubmissionChangesDisplay.tsx +++ b/src/components/moderation/SubmissionChangesDisplay.tsx @@ -249,9 +249,42 @@ export function SubmissionChangesDisplay({ )} ) : ( -
- Creating new {item.item_type} -
+ // Show all creation fields (no moderator edits) + <> + {changes.fieldChanges.length > 0 && ( +
+

Creation Data

+
+ {changes.fieldChanges.map((change, idx) => ( +
+ +
+ ))} +
+
+ )} + + {changes.imageChanges.length > 0 && ( +
+

Images

+
+ {changes.imageChanges.map((change, idx) => ( + + ))} +
+
+ )} + + {changes.hasLocationChange && ( +
+

Location

+ +
+ )} + )} )}