Repository: atlas Updated Branches: refs/heads/master 7f3da2c9e -> 5a96f057c
ATLAS-2907 : UI: show lineage information for process entities Signed-off-by: kevalbhatt <[email protected]> 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 <[email protected]> Authored: Thu Oct 4 18:56:23 2018 +0530 Committer: kevalbhatt <[email protected]> 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,
