Show missing base template error in UI 39/103939/2
authorAvivi, Yotam (ya107f) <ya107f@intl.att.com>
Thu, 19 Mar 2020 10:30:29 +0000 (12:30 +0200)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Thu, 19 Mar 2020 13:37:26 +0000 (13:37 +0000)
Change-Id: Ifb54fc460242b1413c05e6494f9027686f796a81
Issue-ID: SDC-2822
Signed-off-by: Avivi, Yotam (ya107f) <ya107f@intl.att.com>
openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js

index 1968451..f029538 100644 (file)
@@ -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) : []