Commit 5a96f057 by Abhishek Committed by kevalbhatt

ATLAS-2907 : UI: show lineage information for process entities

Signed-off-by: 's avatarkevalbhatt <kbhatt@apache.org>
parent 7f3da2c9
......@@ -245,7 +245,15 @@ define(['require',
});
}
if (_.contains(Utils.getNestedSuperTypes({ data: this.activeEntityDef.toJSON(), collection: this.entityDefCollection }), "DataSet")) {
var containsList = Utils.getNestedSuperTypes({ data: this.activeEntityDef.toJSON(), collection: this.entityDefCollection }),
superType = _.find(containsList, function(type) {
if (type === "DataSet" || type === "Process") {
return true;
}
});
if (superType) {
this.$('.lineageGraph').show();
this.renderLineageLayoutView({
guid: this.id,
......
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