Commit 1b1f9d2a by Shwetha GS

ATLAS-971 UI not displaying results for this query - Eg: "hive_table as t where…

ATLAS-971 UI not displaying results for this query - Eg: "hive_table as t where qualifiedName = 'default.input@cl1' select t" (kevalbhatt18 via shwethags)
parent b28ab21e
......@@ -276,16 +276,24 @@ ul {
}
span {
&.inputTag[data-id="tagClick"] {
span {
display: block;
padding: 3px 5px 3px 5px;
}
i.fa-close[data-id="deleteTag"] {
display: none;
}
}
}
a {
&.inputTag[data-id="addTag"] {
&.inputTagAdd[data-id="addTag"] {
display: none;
}
&.inputTag[data-id="tagClick"] {
span {
display: block;
padding: 3px 5px 3px 5px;
}
i.fa-times[data-id="delete"] {
display: none;
}
......
......@@ -173,10 +173,16 @@
border: 1px $color_jungle_green_approx solid;
background-color: $white;
color: $color_jungle_green_approx;
padding-left: 5px;
&:hover {
color: $white;
background-color: $color_jungle_green_approx;
}
i.fa {
&:hover {
background-color: $color_jungle_green_approx;
}
}
}
.addTagBase {
......
......@@ -234,18 +234,20 @@ define(['require', 'utils/Globals'], function(require, Globals) {
}
}
Utils.checkTagOrTerm = function(value) {
var name = value.split('.');
if (name.length > 1) {
return {
term: true,
name: name[name.length - 1],
fullName: value
}
} else {
return {
term: false,
name: name[name.length - 1],
fullName: value
if (value && _.isString(value)) {
var name = value.split('.');
if (name.length > 1) {
return {
term: true,
name: name[name.length - 1],
fullName: value
}
} else {
return {
term: false,
name: name[name.length - 1],
fullName: value
}
}
}
}
......
......@@ -49,7 +49,7 @@ define(['require',
initialize: function(options) {
_.extend(this, _.pick(options, 'globalVent', 'collection'));
this.collectionObject = this.collection.toJSON();
this.model = new this.collection.model();
this.entityModel = new this.collection.model();
},
bindEvents: function() {},
onRender: function() {
......
......@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
ALL CHANGES:
ATLAS-971 UI not displaying results for this query - Eg: "hive_table as t where qualifiedName = 'default.input@cl1' select t" (kevalbhatt18 via shwethags)
ATLAS-1010 Atlas allows recreation of tags with same name (shwethags)
ATLAS-990 Hive Import metadata script fails with auth exception (nixonrodrigues via shwethags)
ATLAS-998 determine HA mode from property atlas.server.ids, instead of atlas.server.ha.enabled (madhan.neethiraj via shwethags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment