From 2175c39d07e8108a43bfa1adc857dcfa6b3295c1 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:14:00 +0000 Subject: [PATCH] Fix: Show all affected fields in submissions --- src/components/moderation/SubmissionChangesDisplay.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/moderation/SubmissionChangesDisplay.tsx b/src/components/moderation/SubmissionChangesDisplay.tsx index e45b58b4..95badbcb 100644 --- a/src/components/moderation/SubmissionChangesDisplay.tsx +++ b/src/components/moderation/SubmissionChangesDisplay.tsx @@ -125,7 +125,7 @@ export function SubmissionChangesDisplay({ )} - {changes.action === 'edit' && changes.totalChanges > 0 && ( + {(changes.action === 'edit' || changes.action === 'create') && changes.totalChanges > 0 && (
{changes.fieldChanges.slice(0, 5).map((change, idx) => ( @@ -158,12 +158,6 @@ export function SubmissionChangesDisplay({
)} - {changes.action === 'create' && item.item_data?.description && ( -
- {item.item_data.description} -
- )} - {changes.action === 'delete' && (
Marked for deletion