mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(opentsdb): fixed templating issue for single value variables, fixes #4312
This commit is contained in:
parent
990acb3fd3
commit
d26d7162a5
@ -69,6 +69,9 @@ function (angular, _) {
|
|||||||
return '(' + quotedValues.join(' OR ') + ')';
|
return '(' + quotedValues.join(' OR ') + ')';
|
||||||
}
|
}
|
||||||
case "pipe": {
|
case "pipe": {
|
||||||
|
if (typeof value === 'string') {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
return value.join('|');
|
return value.join('|');
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
Loading…
Reference in New Issue
Block a user