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/03/03 07:21:31 UTC

atlas git commit: ATLAS-2474 : UI : On creating a complex entity with single character , name of the complex entity is not displayed in the related entities' detailsPage.

Repository: atlas
Updated Branches:
  refs/heads/master ff605a20a -> 45e38e852


ATLAS-2474 : UI : On creating a complex entity with single character , name of the complex entity is not displayed in the related entities' detailsPage.


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

Branch: refs/heads/master
Commit: 45e38e8526eafe08e4450c4dc07e5be732123670
Parents: ff605a2
Author: kevalbhatt <kb...@apache.org>
Authored: Fri Mar 2 12:07:43 2018 +0530
Committer: kevalbhatt <kb...@apache.org>
Committed: Sat Mar 3 12:38:02 2018 +0530

----------------------------------------------------------------------
 dashboardv2/public/js/utils/CommonViewFunction.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/45e38e85/dashboardv2/public/js/utils/CommonViewFunction.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/utils/CommonViewFunction.js b/dashboardv2/public/js/utils/CommonViewFunction.js
index cb762ac..9b9ffcc 100644
--- a/dashboardv2/public/js/utils/CommonViewFunction.js
+++ b/dashboardv2/public/js/utils/CommonViewFunction.js
@@ -92,7 +92,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 'utils/Messages', 'utils/Enum
                             }
                             id = data.guid;
                         }
-                        if (value.length > 1) {
+                        if (value.length > 0) {
                             scope.$('td div[data-id="' + id + '"]').html('<a href="#!/detailPage/' + id + '">' + value + '</a>');
                         } else {
                             scope.$('td div[data-id="' + id + '"]').html('<a href="#!/detailPage/' + id + '">' + _.escape(id) + '</a>');