diff --git a/src/components/tables/CippTable.jsx b/src/components/tables/CippTable.jsx index 3de34a64d4be..8db2dbcf1db4 100644 --- a/src/components/tables/CippTable.jsx +++ b/src/components/tables/CippTable.jsx @@ -645,9 +645,13 @@ export default function CippTable({ Object.assign(output, flatten(value, newKey)) } else { if (Array.isArray(value)) { - value.map((item, idx) => { - Object.assign(output, flatten(item, `${newKey}[${idx}]`)) - }) + if (typeof value[0] === 'object') { + value.map((item, idx) => { + Object.assign(output, flatten(item, `${newKey}[${idx}]`)) + }) + } else { + output[newKey] = value + } } else { output[newKey] = value }