src/app/routes/reports/demo/demo.component.ts
@@ -154,6 +154,14 @@ } } if (validate && query.type && query.reportType) { query.sensors = null; if (query.sensorKey && query.sensorKey.length > 0) { const sensors = []; query.sensorKey.forEach(sensor => { sensors.push(sensor.sensorKey + '-' + sensor.name + '-' + sensor.unit); }); query.sensors = JSON.stringify(sensors); } query.timeType = JSON.stringify(this.timeType); query.items = JSON.stringify(this.items); this.router.navigate(['report'], {queryParams: query});