File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
pages/projects/[projectId]/summary Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ const Summary = () => {
224224 { project . formVersionId ? (
225225 < >
226226 < MetadataDisplay metadata = { project . metadata } />
227- < div className = "flex flex-wrap gap-2 justify-start max-w-xl" >
227+ < div className = "flex flex-wrap gap-2 justify-end max-w-xl" >
228228 < DownloadJSON
229229 data = { project . metadata }
230230 fileName = { project . name }
Original file line number Diff line number Diff line change @@ -41,12 +41,14 @@ export const MetadataDisplay = ({ metadata }) => {
4141 return (
4242 < div className = "flex flex-col mt-2" >
4343 < strong > Project Form Data:</ strong > < br />
44- { Object . entries ( metadata ) . map ( ( [ key , value ] ) => (
45- < span key = { key } >
46- { toProperCase ( key ) } : { renderValue ( value ) }
47- < br />
48- </ span >
49- ) ) }
44+ { Object . entries ( metadata )
45+ . filter ( ( [ key ] ) => key !== "_stapleSchema" )
46+ . map ( ( [ key , value ] ) => (
47+ < span key = { key } >
48+ { toProperCase ( key ) } : { renderValue ( value ) }
49+ < br />
50+ </ span >
51+ ) ) }
5052 </ div >
5153 )
5254}
You can’t perform that action at this time.
0 commit comments