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/11/01 10:31:36 UTC
atlas git commit: ATLAS-2950 : UI - In newer versions of chrome i.e
70 onwards,
if a new column is added the instead of right most it appears at the left most
Repository: atlas
Updated Branches:
refs/heads/master e8f5c4d94 -> 75947444b
ATLAS-2950 : UI - In newer versions of chrome i.e 70 onwards, if a new column is added the instead of right most it appears at the left most
Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/75947444
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/75947444
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/75947444
Branch: refs/heads/master
Commit: 75947444baceff7ed84baee10da7b56c86f86ab9
Parents: e8f5c4d
Author: kevalbhatt <kb...@apache.org>
Authored: Thu Nov 1 15:55:28 2018 +0530
Committer: kevalbhatt <kb...@apache.org>
Committed: Thu Nov 1 16:00:55 2018 +0530
----------------------------------------------------------------------
dashboardv2/public/js/views/search/SearchResultLayoutView.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/atlas/blob/75947444/dashboardv2/public/js/views/search/SearchResultLayoutView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
index 5f2eba0..8667f98 100644
--- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js
+++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js
@@ -572,7 +572,8 @@ define(['require',
getColumnOrder: function(arr) {
var obj = {};
for (var i = 0; i < arr.length; ++i) {
- obj[(arr[i].innerText == "" ? 'Select' : arr[i].innerText)] = i;
+ var innerText = arr[i].innerText.trim();
+ obj[(innerText == "" ? 'Select' : innerText)] = i;
}
return obj;
},