From 3871be8b1e5496214b6d6adf1ee4c334d54f54b6 Mon Sep 17 00:00:00 2001
From: Abhishek Kadam <abhishek.kadam91@gmail.com>
Date: Thu, 10 Jan 2019 12:49:28 +0530
Subject: [PATCH] ATLAS-3010: UI - Lineage hide process filter is not working

Signed-off-by: kevalbhatt <kbhatt@apache.org>
---
 dashboardv2/public/js/views/graph/LineageLayoutView.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dashboardv2/public/js/views/graph/LineageLayoutView.js b/dashboardv2/public/js/views/graph/LineageLayoutView.js
index 2f64f1e..804dbe7 100644
--- a/dashboardv2/public/js/views/graph/LineageLayoutView.js
+++ b/dashboardv2/public/js/views/graph/LineageLayoutView.js
@@ -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")
                 }
--
libgit2 0.27.1