Show missing base template error in UI
Change-Id: Ifb54fc460242b1413c05e6494f9027686f796a81
Issue-ID: SDC-2822
Signed-off-by: Avivi, Yotam (ya107f) <ya107f@intl.att.com>
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 1968451..f029538 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 @@
}
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 @@
expanded: true,
type: 'heat',
header: true,
+ errors: errors,
children: heat
? heat.map(mapHeatData)
: nested ? nested.map(mapHeatData) : []