[Monitor Dashboard]: Number indicatos add if it is number or string show number
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59783 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
a9a559e469
commit
47b1770111
|
@ -171,7 +171,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy, OnChanges, AfterV
|
||||||
result = result[jsonPath];
|
result = result[jsonPath];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (typeof result == 'string') {
|
if (typeof result == 'string' || typeof result == 'number') {
|
||||||
this.numberResults.set(i + '-' + j, Number(result));
|
this.numberResults.set(i + '-' + j, Number(result));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue