From e4d417ae665f64c0cff13f9f930d040d00ea764a Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Mon, 20 Sep 2021 11:25:26 -0700 Subject: [PATCH] Fixed bundle display in summary --- ui/src/app/metadata/component/properties/ArrayProperty.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/src/app/metadata/component/properties/ArrayProperty.js b/ui/src/app/metadata/component/properties/ArrayProperty.js index 8c5f08c44..6efe6f420 100644 --- a/ui/src/app/metadata/component/properties/ArrayProperty.js +++ b/ui/src/app/metadata/component/properties/ArrayProperty.js @@ -64,9 +64,12 @@ export function ArrayProperty ({ property, columns, preview }) { { property?.items?.enum?.length && property.uniqueItems ? <> {dataList.map((item, itemIdx) => + ( + !Array.isArray(item.key) &&
{item.differences && Changed: } - { item.label } + + { item.label } { property.value.map((v, vIdx) =>
{v && v.indexOf(item.key) > -1 && true } @@ -74,6 +77,7 @@ export function ArrayProperty ({ property, columns, preview }) {
)}
+ ) )} :