diff --git a/src/content/series/Tags.tsx b/src/content/series/Tags.tsx index bbe981e6..cc80f76d 100644 --- a/src/content/series/Tags.tsx +++ b/src/content/series/Tags.tsx @@ -30,13 +30,25 @@ const Tags = ({ seriesId }: TagsProps) => { } ) + const json = JSON.parse(JSON.stringify(header, null, 2)) + const json_values = Object.values(json) + var names_list = [] + var values_list = [] + for (var index = 0; index < json_values.length; index++) { + names_list.push(json_values[index]["Name"]) + values_list.push(json_values[index]["Value"]) + } + + const jsonNameValues = Object.fromEntries(names_list.map((key, index) => [key, values_list[index]])); + if (!instances) return return ( <> setInstanceNumber(Number(event.target?.value))} />
-                {JSON.stringify(header, null, 2)}
-                {JSON.stringify(tags, null, 2)}
+                {JSON.stringify(jsonNameValues, null, 2)}
+                {JSON.stringify(header, null, 2)} 
+                {/* {JSON.stringify(tags, null, 2)} */}
             
)