This is an automated email from the ASF dual-hosted git repository.
kbhatt pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 0851a38 ATLAS-3332: In relationship tab empty valued attributes are
shown even though Show empty values is unchecked
0851a38 is described below
commit 0851a3819ba5878e665b34a2af4cd9e743aebdd8
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) {