mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix "not valid as a React child" error while display crds with column which type is object (#1772)
Signed-off-by: liuhongyu <lhy990409@gmail.com>
This commit is contained in:
parent
be3aa88fd4
commit
733fc8a658
@ -93,7 +93,7 @@ export class CrdResources extends React.Component<Props> {
|
|||||||
isNamespaced && crdInstance.getNs(),
|
isNamespaced && crdInstance.getNs(),
|
||||||
...extraColumns.map(column => ({
|
...extraColumns.map(column => ({
|
||||||
renderBoolean: true,
|
renderBoolean: true,
|
||||||
children: jsonPath.value(crdInstance, column.jsonPath.slice(1)),
|
children: JSON.stringify(jsonPath.value(crdInstance, column.jsonPath.slice(1))),
|
||||||
})),
|
})),
|
||||||
crdInstance.getAge(),
|
crdInstance.getAge(),
|
||||||
]}
|
]}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user