fix(alerting): fixed evaluation for no_value condition, fixes #7244 (#7247)

* fix(alerting): fixed evaluation for no_value condition, fixes #7244

* feat(alerting): moving null library into grafana, fixing handling on no value / no series
This commit is contained in:
Torkel Ödegaard
2017-01-13 12:32:30 +01:00
committed by GitHub
parent bccdd7cad1
commit d354f3a8af
24 changed files with 96 additions and 610 deletions

View File

@@ -117,6 +117,7 @@ coreModule.directive('jsonNode', ['ajsRecursiveDirectiveHelper', function jsonNo
var isArray = utils.is(scope.value, 'Array');
scope.preview = isArray ? '[ ' : '{ ';
utils.forKeys(scope.value, function jsonNodeDirectiveLinkForKeys(key, value) {
if (value === null) { scope.value[key] = 'null'; }
if (isArray) {
scope.preview += value + ', ';
} else {