Commit 3871be8b by Abhishek Kadam Committed by kevalbhatt

ATLAS-3010: UI - Lineage hide process filter is not working

Signed-off-by: 's avatarkevalbhatt <kbhatt@apache.org>
parent e05ed85f
......@@ -204,6 +204,9 @@ define(['require',
var that = this;
function isProcess(typeName) {
if (typeName == "Process") {
return true;
}
var entityDef = that.entityDefCollection.fullCollection.find({ name: typeName });
return _.contains(Utils.getNestedSuperTypes({ data: entityDef.toJSON(), collection: that.entityDefCollection }), "Process")
}
......
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