Commit 012b72cd by Torkel Ödegaard

fix: Html escaping caused issue in InfluxDB query editor, could not pick…

fix: Html escaping caused issue in InfluxDB query editor,  could not pick greater than or less then operators, fixes #9871
parent e7f34808
...@@ -159,6 +159,8 @@ export class FormDropdownCtrl { ...@@ -159,6 +159,8 @@ export class FormDropdownCtrl {
} }
updateValue(text) { updateValue(text) {
text = _.unescape(text);
if (text === '' || this.text === text) { if (text === '' || this.text === text) {
return; return;
} }
......
...@@ -39,6 +39,8 @@ function (_, $, coreModule) { ...@@ -39,6 +39,8 @@ function (_, $, coreModule) {
return; return;
} }
value = _.unescape(value)
$scope.$apply(function() { $scope.$apply(function() {
var selected = _.find($scope.altSegments, {value: value}); var selected = _.find($scope.altSegments, {value: value});
if (selected) { if (selected) {
......
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