From 0fe8f4840e364e00fdd25aaa8fd5c459e46f0328 Mon Sep 17 00:00:00 2001 From: "Avivi, Yotam (ya107f)" Date: Thu, 19 Mar 2020 12:30:29 +0200 Subject: Show missing base template error in UI Change-Id: Ifb54fc460242b1413c05e6494f9027686f796a81 Issue-ID: SDC-2822 Signed-off-by: Avivi, Yotam (ya107f) --- .../softwareProduct/attachments/validation/HeatValidationReducer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct') diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js index 19684512a1..f02953857b 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js @@ -129,7 +129,7 @@ function createErrorList(node, parent, deep = 0, errorList = []) { } const mapValidationDataToTree = (validationData, packageName) => { - let { heat, nested, volume, network, artifacts, other } = + let { errors, heat, nested, volume, network, artifacts, other } = validationData.importStructure || {}; return { children: [ @@ -138,6 +138,7 @@ const mapValidationDataToTree = (validationData, packageName) => { expanded: true, type: 'heat', header: true, + errors: errors, children: heat ? heat.map(mapHeatData) : nested ? nested.map(mapHeatData) : [] -- cgit 1.2.3-korg