From 4f942a25665d56dc44bbe899f6a6ffbdafde4ae2 Mon Sep 17 00:00:00 2001 From: bh-ethz Date: Fri, 9 Feb 2024 17:06:14 +0100 Subject: [PATCH] fix(website): fix input field name property being modified incorrectly --- website/src/components/Edit/EditPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/src/components/Edit/EditPage.tsx b/website/src/components/Edit/EditPage.tsx index 44bc473aed..84e3d547bb 100644 --- a/website/src/components/Edit/EditPage.tsx +++ b/website/src/components/Edit/EditPage.tsx @@ -200,10 +200,11 @@ const EditableOriginalData: FC = ({ editedMetadata, s <> {editedMetadata.map((field) => { + const rawMetadataKey = 'raw_metadata' + field.key; field.key = sentenceCase(field.key); return ( setEditedMetadata((prevRows: Row[]) =>