Commit d7b4d585 by Abhishek Kadam Committed by nixonrodrigues

ATLAS-2754: UI - Atlas front end fail to show the input and output entity

parent cbc4b8a3
......@@ -176,8 +176,15 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
fetchInputOutputValue(fetchId);
tempLink += '<div data-id="' + fetchId + '"><div class="value-loader"></div></div>';
} else {
if (_.isArray(rAttrValue) && rAttrValue.length) {
var attrVal = _.find(rAttrValue, inputOutputField);
if (attrVal) {
tempLink += '<div data-id="' + attrVal.guid + '"><a href="#!/detailPage/' + attrVal.guid + '">' + Utils.getName(attrVal) + '</a></div>';
}
} else {
tempLink += '<div data-id="' + rAttrValue.guid + '"><a href="#!/detailPage/' + rAttrValue.guid + '">' + Utils.getName(rAttrValue) + '</a></div>';
}
}
} else {
tempLink += '<a href="#!/detailPage/' + id + '">' + name + '</a>'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment