You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by kb...@apache.org on 2018/10/04 14:39:39 UTC

atlas git commit: ATLAS-2907 : UI: show lineage information for process entities

Repository: atlas
Updated Branches:
  refs/heads/master 7f3da2c9e -> 5a96f057c


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

Signed-off-by: kevalbhatt <kb...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/5a96f057
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/5a96f057
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/5a96f057

Branch: refs/heads/master
Commit: 5a96f057c594a7362923bc92f40c24c935dae548
Parents: 7f3da2c
Author: Abhishek <ab...@gmail.com>
Authored: Thu Oct 4 18:56:23 2018 +0530
Committer: kevalbhatt <kb...@apache.org>
Committed: Thu Oct 4 20:08:38 2018 +0530

----------------------------------------------------------------------
 .../public/js/views/detail_page/DetailPageLayoutView.js   | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/5a96f057/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
index b4ea612..ecdfc62 100644
--- a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
+++ b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
@@ -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,