Commit 78b9c9b3 authored by nyako's avatar nyako Committed by Jari Kolehmainen
Browse files

fix "not valid as a React child" error while display crds with column which type is object (#1772)

Signed-off-by: default avatarliuhongyu <lhy990409@gmail.com>
Showing with 1 addition and 1 deletion
+1 -1
......@@ -93,7 +93,7 @@ export class CrdResources extends React.Component<Props> {
isNamespaced && crdInstance.getNs(),
...extraColumns.map(column => ({
renderBoolean: true,
children: jsonPath.value(crdInstance, column.jsonPath.slice(1)),
children: JSON.stringify(jsonPath.value(crdInstance, column.jsonPath.slice(1))),
})),
crdInstance.getAge(),
]}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment