mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: Html escaping caused issue in InfluxDB query editor, could not pick greater than or less then operators, fixes #9871
This commit is contained in:
parent
e7f3480803
commit
012b72cdbf
@ -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) {
|
|||||||
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user