[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:
Konstantinos Triantafyllou 2020-11-05 10:06:50 +00:00
parent a9a559e469
commit 47b1770111
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ export class IndicatorsComponent implements OnInit, OnDestroy, OnChanges, AfterV
result = result[jsonPath];
}
});
if (typeof result == 'string') {
if (typeof result == 'string' || typeof result == 'number') {
this.numberResults.set(i + '-' + j, Number(result));
}
});