diff --git a/dashboard/src/components/Section/MiscSection.tsx b/dashboard/src/components/Section/MiscSection.tsx index f47d6414..a27e9162 100644 --- a/dashboard/src/components/Section/MiscSection.tsx +++ b/dashboard/src/components/Section/MiscSection.tsx @@ -18,8 +18,10 @@ export const getMiscSection = ({ const miscInfos: SubsectionLink[] = Object.entries(misc).map( ([fieldKey, fieldValue]) => { let stringField = fieldValue.toString(); + let isObjectField = false; if (typeof fieldValue === 'object') { stringField = JSON.stringify(fieldValue); + isObjectField = true; } const isUrlResult = isUrl(stringField); @@ -39,6 +41,7 @@ export const getMiscSection = ({ ), link: isUrlResult ? stringField : undefined, + copyValue: isObjectField ? stringField : undefined, }; }, );