aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui
diff options
context:
space:
mode:
authorAvivi, Yotam (ya107f) <ya107f@intl.att.com>2020-03-19 12:30:29 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-03-19 13:37:26 +0000
commit0fe8f4840e364e00fdd25aaa8fd5c459e46f0328 (patch)
tree851ee45b26d71e56ca50d9dc0ebea9a2d9861c42 /openecomp-ui
parentc639918e78de67b101cae055541c39243ad1126b (diff)
Show missing base template error in UI
Change-Id: Ifb54fc460242b1413c05e6494f9027686f796a81 Issue-ID: SDC-2822 Signed-off-by: Avivi, Yotam (ya107f) <ya107f@intl.att.com>
Diffstat (limited to 'openecomp-ui')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js3
1 files changed, 2 insertions, 1 deletions
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) : []