Revision 58927
Added by Konstantinos Triantafyllou almost 4 years ago
modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/utils/indicator-utils.ts | ||
---|---|---|
278 | 278 |
generateIndicatorByForm(form: any, indicatorPaths: IndicatorPath[]): Indicator { |
279 | 279 |
let indicator: Indicator = new Indicator(form.name, form.description, 'chart', |
280 | 280 |
form.width, form.isActive, form.isPublic, indicatorPaths, form.defaultId); |
281 |
indicator._id = form.id; |
|
281 |
indicator._id = form._id;
|
|
282 | 282 |
form.indicatorPaths.forEach((indicatorPath, index) => { |
283 | 283 |
indicator.indicatorPaths[index].type = indicatorPath.type; |
284 | 284 |
indicatorPath.parameters.forEach(parameter => { |
Also available in: Unified diff
[Monitor Dashboard | Trunk]: Fix a bug with the id of chart indicator