This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 7917e54 ATLAS-4387:UI: Propagated Classifications shows wrong count
for entity type on Entity detail page, fixed
7917e54 is described below
commit 7917e548a9bf184fba9ed7b227bc153a7f11e949
Author: prasad pawar <[email protected]>
AuthorDate: Thu Aug 5 18:36:08 2021 +0530
ATLAS-4387:UI: Propagated Classifications shows wrong count for entity type
on Entity detail page, fixed
Signed-off-by: nixonrodrigues <[email protected]>
---
dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js | 2 +-
dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
index d8e10cc..bb629b4 100644
--- a/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
+++ b/dashboardv2/public/js/views/detail_page/DetailPageLayoutView.js
@@ -255,7 +255,7 @@ define(['require',
} else {
tags['propagated'].push(val);
if (tags.propagatedMap[typeName]) {
- tags.propagatedMap[typeName]["count"]
+= tags.propagatedMap[typeName]["count"];
+
tags.propagatedMap[typeName]["count"]++;
} else {
tags.propagatedMap[typeName] = val;
tags.propagatedMap[typeName]["count"]
= 1;
diff --git a/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js
b/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js
index 8e0686b..471be3b 100644
--- a/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js
+++ b/dashboardv3/public/js/views/detail_page/DetailPageLayoutView.js
@@ -259,7 +259,7 @@ define(['require',
} else {
tags['propagated'].push(val);
if (tags.propagatedMap[typeName]) {
- tags.propagatedMap[typeName]["count"]
+= tags.propagatedMap[typeName]["count"];
+
tags.propagatedMap[typeName]["count"]++;
} else {
tags.propagatedMap[typeName] = val;
tags.propagatedMap[typeName]["count"]
= 1;