Fixed #138 - Mapping value to text does't work in singlestat panel.
This commit is contained in:
@@ -130,7 +130,7 @@ function (angular, _) {
|
||||
this.handleSLAResponse = function (itservice, slaProperty, slaObject) {
|
||||
var targetSLA = slaObject[itservice.serviceid].sla[0];
|
||||
if (slaProperty.property === 'status') {
|
||||
var targetStatus = slaObject[itservice.serviceid].status;
|
||||
var targetStatus = parseInt(slaObject[itservice.serviceid].status);
|
||||
return {
|
||||
target: itservice.name + ' ' + slaProperty.name,
|
||||
datapoints: [
|
||||
|
||||
Reference in New Issue
Block a user