This is an automated email from the ASF dual-hosted git repository.

kbhatt 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 25e2e46  ATLAS-3332: In relationship tab empty valued attributes are 
shown even though Show empty values is unchecked
25e2e46 is described below

commit 25e2e461a663418fa97aa3413fd4efdf798b1acc
Author: kevalbhatt <[email protected]>
AuthorDate: Fri Jul 12 14:12:31 2019 +0530

    ATLAS-3332: In relationship tab empty valued attributes are shown even 
though Show empty values is unchecked
---
 dashboardv2/public/js/utils/CommonViewFunction.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dashboardv2/public/js/utils/CommonViewFunction.js 
b/dashboardv2/public/js/utils/CommonViewFunction.js
index 2754c1a..9cea1b8 100644
--- a/dashboardv2/public/js/utils/CommonViewFunction.js
+++ b/dashboardv2/public/js/utils/CommonViewFunction.js
@@ -230,7 +230,7 @@ define(['require', 'utils/Utils', 'modules/Modal', 
'utils/Messages', 'utils/Enum
                 if (valueOfArray.length) {
                     subLink = valueOfArray.join(', ');
                 }
-                return subLink;
+                return subLink === "" ? "N/A" : subLink;
             }
         var valueObjectKeysList = _.keys(valueObject);
         if (_.isUndefined(sortBy) || sortBy == true) {

Reply via email to